0s autopkgtest [00:48:09]: starting date and time: 2025-05-05 00:48:09+0000 0s autopkgtest [00:48:09]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [00:48:09]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.duynr2s0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libselinux,src:tzdata,src:libsepol,src:elfutils --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=libselinux/3.8.1-1 tzdata/2025b-3ubuntu1 libsepol/3.8.1-1 elfutils/0.193-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@bos03-ppc64el-8.secgroup --name adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 --image adt/ubuntu-questing-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 61s autopkgtest [00:49:10]: testbed dpkg architecture: ppc64el 61s autopkgtest [00:49:10]: testbed apt version: 3.0.0 61s autopkgtest [00:49:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s autopkgtest [00:49:10]: testbed release detected to be: None 62s autopkgtest [00:49:11]: updating testbed package index (apt update) 62s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 63s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 63s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 63s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 63s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1031 kB] 63s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [31.7 kB] 63s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [98.1 kB] 63s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [133 kB] 63s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [975 kB] 63s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [18.6 kB] 63s Fetched 2397 kB in 1s (2194 kB/s) 64s Reading package lists... 65s autopkgtest [00:49:14]: upgrading testbed (apt dist-upgrade and autopurge) 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 66s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 66s Starting 2 pkgProblemResolver with broken count: 0 66s Done 66s Entering ResolveByKeep 67s 67s Calculating upgrade... 67s The following packages will be upgraded: 67s base-passwd btrfs-progs ethtool hwdata less libbpf1 libdebuginfod-common 67s libdebuginfod1t64 libdw1t64 libelf1t64 libevdev2 libmm-glib0 libnghttp2-14 67s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libselinux1 67s libunistring5 libusb-1.0-0 man-db netcat-openbsd patch pnp.ids publicsuffix 67s tzdata usbutils 67s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s Need to get 11.3 MB of archives. 67s After this operation, 145 kB of additional disk space will be used. 67s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1 ppc64el 3.8.1-1 [110 kB] 67s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el base-passwd ppc64el 3.6.7 [55.8 kB] 67s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod-common all 0.193-1 [15.6 kB] 67s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el less ppc64el 668-1 [206 kB] 67s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod1t64 ppc64el 0.193-1 [24.1 kB] 67s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdw1t64 ppc64el 0.193-1 [318 kB] 67s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libelf1t64 ppc64el 0.193-1 [67.9 kB] 67s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libbpf1 ppc64el 1:1.5.0-3 [231 kB] 68s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libunistring5 ppc64el 1.3-2 [627 kB] 68s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el netcat-openbsd ppc64el 1.229-1 [45.5 kB] 68s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata all 2025b-3ubuntu1 [198 kB] 68s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ethtool ppc64el 1:6.14-2 [294 kB] 68s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libevdev2 ppc64el 1.13.4+dfsg-1 [38.0 kB] 68s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libnghttp2-14 ppc64el 1.64.0-1.1 [89.7 kB] 68s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libusb-1.0-0 ppc64el 2:1.0.28-1 [64.4 kB] 68s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el man-db ppc64el 2.13.1-1 [1409 kB] 68s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el publicsuffix all 20250328.1952-0.1 [135 kB] 68s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el usbutils ppc64el 1:018-2 [90.0 kB] 68s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el btrfs-progs ppc64el 6.14-1 [1373 kB] 68s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el hwdata all 0.394-1 [1564 B] 68s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el pnp.ids all 0.394-1 [29.5 kB] 68s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libmm-glib0 ppc64el 1.24.0-1 [290 kB] 68s Get:23 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 68s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 68s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 68s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el patch ppc64el 2.8-1 [110 kB] 68s Preconfiguring packages ... 69s Fetched 11.3 MB in 1s (10.1 MB/s) 69s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 107204 files and directories currently installed.) 69s Preparing to unpack .../libselinux1_3.8.1-1_ppc64el.deb ... 69s Unpacking libselinux1:ppc64el (3.8.1-1) over (3.7-3ubuntu3) ... 69s Setting up libselinux1:ppc64el (3.8.1-1) ... 69s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 107204 files and directories currently installed.) 69s Preparing to unpack .../base-passwd_3.6.7_ppc64el.deb ... 69s Unpacking base-passwd (3.6.7) over (3.6.6) ... 69s Setting up base-passwd (3.6.7) ... 69s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 107204 files and directories currently installed.) 69s Preparing to unpack .../00-libdebuginfod-common_0.193-1_all.deb ... 69s Unpacking libdebuginfod-common (0.193-1) over (0.192-4ubuntu1) ... 69s Preparing to unpack .../01-less_668-1_ppc64el.deb ... 69s Unpacking less (668-1) over (643-1) ... 69s Preparing to unpack .../02-libdebuginfod1t64_0.193-1_ppc64el.deb ... 69s Unpacking libdebuginfod1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 69s Preparing to unpack .../03-libdw1t64_0.193-1_ppc64el.deb ... 69s Unpacking libdw1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 69s Preparing to unpack .../04-libelf1t64_0.193-1_ppc64el.deb ... 69s Unpacking libelf1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 69s Preparing to unpack .../05-libbpf1_1%3a1.5.0-3_ppc64el.deb ... 69s Unpacking libbpf1:ppc64el (1:1.5.0-3) over (1:1.5.0-2) ... 69s Preparing to unpack .../06-libunistring5_1.3-2_ppc64el.deb ... 69s Unpacking libunistring5:ppc64el (1.3-2) over (1.3-1) ... 69s Preparing to unpack .../07-netcat-openbsd_1.229-1_ppc64el.deb ... 69s Unpacking netcat-openbsd (1.229-1) over (1.228-1) ... 69s Preparing to unpack .../08-tzdata_2025b-3ubuntu1_all.deb ... 69s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 70s Preparing to unpack .../09-ethtool_1%3a6.14-2_ppc64el.deb ... 70s Unpacking ethtool (1:6.14-2) over (1:6.11-1) ... 70s Preparing to unpack .../10-libevdev2_1.13.4+dfsg-1_ppc64el.deb ... 70s Unpacking libevdev2:ppc64el (1.13.4+dfsg-1) over (1.13.3+dfsg-1) ... 70s Preparing to unpack .../11-libnghttp2-14_1.64.0-1.1_ppc64el.deb ... 70s Unpacking libnghttp2-14:ppc64el (1.64.0-1.1) over (1.64.0-1ubuntu1) ... 70s Preparing to unpack .../12-libusb-1.0-0_2%3a1.0.28-1_ppc64el.deb ... 70s Unpacking libusb-1.0-0:ppc64el (2:1.0.28-1) over (2:1.0.27-2) ... 70s Preparing to unpack .../13-man-db_2.13.1-1_ppc64el.deb ... 70s Unpacking man-db (2.13.1-1) over (2.13.0-1) ... 70s Preparing to unpack .../14-publicsuffix_20250328.1952-0.1_all.deb ... 70s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 70s Preparing to unpack .../15-usbutils_1%3a018-2_ppc64el.deb ... 70s Unpacking usbutils (1:018-2) over (1:018-1) ... 70s Preparing to unpack .../16-btrfs-progs_6.14-1_ppc64el.deb ... 70s Unpacking btrfs-progs (6.14-1) over (6.12-1build1) ... 70s Preparing to unpack .../17-hwdata_0.394-1_all.deb ... 70s Unpacking hwdata (0.394-1) over (0.393-3) ... 70s Preparing to unpack .../18-pnp.ids_0.394-1_all.deb ... 70s Unpacking pnp.ids (0.394-1) over (0.393-3) ... 70s Preparing to unpack .../19-libmm-glib0_1.24.0-1_ppc64el.deb ... 70s Unpacking libmm-glib0:ppc64el (1.24.0-1) over (1.23.4-0ubuntu3) ... 70s Preparing to unpack .../20-libpython3.12t64_3.12.10-1_ppc64el.deb ... 70s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 70s Preparing to unpack .../21-libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 70s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 70s Preparing to unpack .../22-libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 70s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 71s Preparing to unpack .../23-patch_2.8-1_ppc64el.deb ... 71s Unpacking patch (2.8-1) over (2.7.6-7build3) ... 71s Setting up libdebuginfod-common (0.193-1) ... 71s Setting up btrfs-progs (6.14-1) ... 71s Setting up netcat-openbsd (1.229-1) ... 71s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 71s Setting up libnghttp2-14:ppc64el (1.64.0-1.1) ... 71s Setting up less (668-1) ... 71s Setting up man-db (2.13.1-1) ... 71s Updating database of manual pages ... 73s man-db.service is a disabled or a static unit not running, not starting it. 73s Setting up libelf1t64:ppc64el (0.193-1) ... 73s Setting up libdw1t64:ppc64el (0.193-1) ... 73s Setting up tzdata (2025b-3ubuntu1) ... 74s 74s Current default time zone: 'Etc/UTC' 74s Local time is now: Mon May 5 00:49:22 UTC 2025. 74s Universal Time is now: Mon May 5 00:49:22 UTC 2025. 74s Run 'dpkg-reconfigure tzdata' if you wish to change it. 74s 74s Setting up libunistring5:ppc64el (1.3-2) ... 74s Setting up patch (2.8-1) ... 74s Setting up libmm-glib0:ppc64el (1.24.0-1) ... 74s Setting up pnp.ids (0.394-1) ... 74s Setting up libusb-1.0-0:ppc64el (2:1.0.28-1) ... 74s Setting up libevdev2:ppc64el (1.13.4+dfsg-1) ... 74s Setting up publicsuffix (20250328.1952-0.1) ... 74s Setting up libbpf1:ppc64el (1:1.5.0-3) ... 74s Setting up ethtool (1:6.14-2) ... 74s Setting up libdebuginfod1t64:ppc64el (0.193-1) ... 74s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 74s Setting up usbutils (1:018-2) ... 74s Setting up hwdata (0.394-1) ... 74s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 74s Processing triggers for libc-bin (2.41-6ubuntu1) ... 74s Processing triggers for initramfs-tools (0.147ubuntu1) ... 74s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 74s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Starting pkgProblemResolver with broken count: 0 83s Starting 2 pkgProblemResolver with broken count: 0 83s Done 84s Solving dependencies... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s autopkgtest [00:49:33]: rebooting testbed after setup commands that affected boot 116s autopkgtest [00:50:05]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 14:52:42 UTC 2025 118s autopkgtest [00:50:07]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 129s Get:1 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (dsc) [4812 B] 129s Get:2 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [661 kB] 129s Get:3 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [5615 kB] 129s Get:4 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (diff) [136 kB] 129s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC 129s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 129s gpgv: Can't check signature: No public key 129s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found 130s autopkgtest [00:50:19]: testing package glib2.0 version 2.84.1-1 135s autopkgtest [00:50:24]: build not needed 142s autopkgtest [00:50:31]: test build: preparing testbed 142s Reading package lists... 142s Building dependency tree... 142s Reading state information... 143s Starting pkgProblemResolver with broken count: 0 143s Starting 2 pkgProblemResolver with broken count: 0 143s Done 143s The following NEW packages will be installed: 143s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 143s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 143s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 143s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 143s libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 143s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 143s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 143s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 143s zlib1g-dev 143s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 143s Need to get 63.5 MB of archives. 143s After this operation, 235 MB of additional disk space will be used. 143s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 144s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 144s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [10.5 MB] 144s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-14 ppc64el 14.2.0-19ubuntu2 [1036 B] 144s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [5566 B] 144s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp ppc64el 4:14.2.0-1ubuntu1 [22.4 kB] 144s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el libcc1-0 ppc64el 15-20250404-0ubuntu1 [48.6 kB] 144s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libgomp1 ppc64el 15-20250404-0ubuntu1 [168 kB] 144s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libitm1 ppc64el 15-20250404-0ubuntu1 [32.3 kB] 144s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libasan8 ppc64el 15-20250404-0ubuntu1 [3007 kB] 144s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el liblsan0 ppc64el 15-20250404-0ubuntu1 [1374 kB] 144s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libtsan2 ppc64el 15-20250404-0ubuntu1 [2732 kB] 144s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libubsan1 ppc64el 15-20250404-0ubuntu1 [1232 kB] 144s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libquadmath0 ppc64el 15-20250404-0ubuntu1 [160 kB] 144s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libgcc-14-dev ppc64el 14.2.0-19ubuntu2 [1618 kB] 144s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [20.6 MB] 145s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-14 ppc64el 14.2.0-19ubuntu2 [540 kB] 145s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [1226 B] 145s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc ppc64el 4:14.2.0-1ubuntu1 [5012 B] 145s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el libstdc++-14-dev ppc64el 14.2.0-19ubuntu2 [2679 kB] 145s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [12.0 MB] 145s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-14 ppc64el 14.2.0-19ubuntu2 [23.0 kB] 145s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [966 B] 145s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el g++ ppc64el 4:14.2.0-1ubuntu1 [1088 B] 145s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 145s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el libffi-dev ppc64el 3.4.7-1 [67.7 kB] 145s Get:27 http://ftpmaster.internal/ubuntu questing/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB] 145s Get:28 http://ftpmaster.internal/ubuntu questing/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB] 145s Get:29 http://ftpmaster.internal/ubuntu questing/main ppc64el libsepol-dev ppc64el 3.8.1-1 [505 kB] 145s Get:30 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-16-0 ppc64el 10.45-1 [286 kB] 145s Get:31 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-32-0 ppc64el 10.45-1 [269 kB] 145s Get:32 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-posix3 ppc64el 10.45-1 [7390 B] 145s Get:33 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-dev ppc64el 10.45-1 [921 kB] 145s Get:34 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1-dev ppc64el 3.8.1-1 [204 kB] 145s Get:35 http://ftpmaster.internal/ubuntu questing/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB] 145s Get:36 http://ftpmaster.internal/ubuntu questing/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 145s Get:37 http://ftpmaster.internal/ubuntu questing/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 145s Get:38 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 145s Get:39 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 145s Get:40 http://ftpmaster.internal/ubuntu questing/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 145s Get:41 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev ppc64el 2.84.1-1 [2162 kB] 146s Fetched 63.5 MB in 2s (28.1 MB/s) 146s Selecting previously unselected package libisl23:ppc64el. 146s (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 ... 107214 files and directories currently installed.) 146s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 146s Unpacking libisl23:ppc64el (0.27-1) ... 146s Selecting previously unselected package libmpc3:ppc64el. 146s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 146s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 146s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 146s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 146s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 146s Selecting previously unselected package cpp-14. 146s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_ppc64el.deb ... 146s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 146s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 146s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 146s Unpacking cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 146s Selecting previously unselected package cpp. 146s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 146s Unpacking cpp (4:14.2.0-1ubuntu1) ... 146s Selecting previously unselected package libcc1-0:ppc64el. 146s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libgomp1:ppc64el. 146s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libgomp1:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libitm1:ppc64el. 146s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libitm1:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libasan8:ppc64el. 146s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libasan8:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package liblsan0:ppc64el. 146s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking liblsan0:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libtsan2:ppc64el. 146s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libtsan2:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libubsan1:ppc64el. 146s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libubsan1:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libquadmath0:ppc64el. 146s Preparing to unpack .../13-libquadmath0_15-20250404-0ubuntu1_ppc64el.deb ... 146s Unpacking libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 146s Selecting previously unselected package libgcc-14-dev:ppc64el. 146s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 146s Unpacking libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 146s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 146s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 146s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 147s Selecting previously unselected package gcc-14. 147s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_ppc64el.deb ... 147s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 147s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 147s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 147s Unpacking gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 147s Selecting previously unselected package gcc. 147s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 147s Unpacking gcc (4:14.2.0-1ubuntu1) ... 147s Selecting previously unselected package libstdc++-14-dev:ppc64el. 147s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 147s Unpacking libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 147s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 147s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 147s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 147s Selecting previously unselected package g++-14. 147s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_ppc64el.deb ... 147s Unpacking g++-14 (14.2.0-19ubuntu2) ... 147s Selecting previously unselected package g++-powerpc64le-linux-gnu. 147s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 147s Unpacking g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 147s Selecting previously unselected package g++. 147s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 147s Unpacking g++ (4:14.2.0-1ubuntu1) ... 147s Selecting previously unselected package build-essential. 147s Preparing to unpack .../24-build-essential_12.12ubuntu1_ppc64el.deb ... 147s Unpacking build-essential (12.12ubuntu1) ... 147s Selecting previously unselected package libffi-dev:ppc64el. 147s Preparing to unpack .../25-libffi-dev_3.4.7-1_ppc64el.deb ... 147s Unpacking libffi-dev:ppc64el (3.4.7-1) ... 147s Selecting previously unselected package uuid-dev:ppc64el. 147s Preparing to unpack .../26-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 147s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 147s Selecting previously unselected package libblkid-dev:ppc64el. 147s Preparing to unpack .../27-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 147s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 147s Selecting previously unselected package libsepol-dev:ppc64el. 147s Preparing to unpack .../28-libsepol-dev_3.8.1-1_ppc64el.deb ... 147s Unpacking libsepol-dev:ppc64el (3.8.1-1) ... 147s Selecting previously unselected package libpcre2-16-0:ppc64el. 147s Preparing to unpack .../29-libpcre2-16-0_10.45-1_ppc64el.deb ... 147s Unpacking libpcre2-16-0:ppc64el (10.45-1) ... 147s Selecting previously unselected package libpcre2-32-0:ppc64el. 147s Preparing to unpack .../30-libpcre2-32-0_10.45-1_ppc64el.deb ... 147s Unpacking libpcre2-32-0:ppc64el (10.45-1) ... 147s Selecting previously unselected package libpcre2-posix3:ppc64el. 147s Preparing to unpack .../31-libpcre2-posix3_10.45-1_ppc64el.deb ... 147s Unpacking libpcre2-posix3:ppc64el (10.45-1) ... 147s Selecting previously unselected package libpcre2-dev:ppc64el. 147s Preparing to unpack .../32-libpcre2-dev_10.45-1_ppc64el.deb ... 147s Unpacking libpcre2-dev:ppc64el (10.45-1) ... 147s Selecting previously unselected package libselinux1-dev:ppc64el. 147s Preparing to unpack .../33-libselinux1-dev_3.8.1-1_ppc64el.deb ... 147s Unpacking libselinux1-dev:ppc64el (3.8.1-1) ... 147s Selecting previously unselected package libmount-dev:ppc64el. 147s Preparing to unpack .../34-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ... 147s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 148s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 148s Preparing to unpack .../35-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 148s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 148s Selecting previously unselected package libpkgconf3:ppc64el. 148s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ... 148s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 148s Selecting previously unselected package pkgconf-bin. 148s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ... 148s Unpacking pkgconf-bin (1.8.1-4) ... 148s Selecting previously unselected package pkgconf:ppc64el. 148s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ... 148s Unpacking pkgconf:ppc64el (1.8.1-4) ... 148s Selecting previously unselected package zlib1g-dev:ppc64el. 148s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 148s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 148s Selecting previously unselected package libgio-2.0-dev:ppc64el. 148s Preparing to unpack .../40-libgio-2.0-dev_2.84.1-1_ppc64el.deb ... 148s Unpacking libgio-2.0-dev:ppc64el (2.84.1-1) ... 148s Setting up libgomp1:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up libffi-dev:ppc64el (3.4.7-1) ... 148s Setting up libpcre2-16-0:ppc64el (10.45-1) ... 148s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 148s Setting up libpcre2-32-0:ppc64el (10.45-1) ... 148s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 148s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 148s Setting up libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 148s Setting up libsepol-dev:ppc64el (3.8.1-1) ... 148s Setting up pkgconf-bin (1.8.1-4) ... 148s Setting up libubsan1:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 148s Setting up libpcre2-posix3:ppc64el (10.45-1) ... 148s Setting up libasan8:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up libtsan2:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up libisl23:ppc64el (0.27-1) ... 148s Setting up libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up liblsan0:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up libitm1:ppc64el (15-20250404-0ubuntu1) ... 148s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 148s Setting up libpcre2-dev:ppc64el (10.45-1) ... 148s Setting up libselinux1-dev:ppc64el (3.8.1-1) ... 148s Setting up pkgconf:ppc64el (1.8.1-4) ... 148s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 148s Setting up cpp-14 (14.2.0-19ubuntu2) ... 148s Setting up libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 148s Setting up libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 148s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 148s Setting up cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 148s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 148s Setting up libgio-2.0-dev:ppc64el (2.84.1-1) ... 148s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 148s Setting up gcc-14 (14.2.0-19ubuntu2) ... 148s Setting up gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 148s Setting up cpp (4:14.2.0-1ubuntu1) ... 148s Setting up g++-14 (14.2.0-19ubuntu2) ... 148s Setting up g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 148s Setting up gcc (4:14.2.0-1ubuntu1) ... 148s Setting up g++ (4:14.2.0-1ubuntu1) ... 148s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 148s Setting up build-essential (12.12ubuntu1) ... 148s Processing triggers for libc-bin (2.41-6ubuntu1) ... 148s Processing triggers for man-db (2.13.1-1) ... 149s Processing triggers for libglib2.0-0t64:ppc64el (2.84.1-1) ... 149s No schema files found: doing nothing. 149s Processing triggers for install-info (7.1.1-1) ... 150s autopkgtest [00:50:39]: test build: [----------------------- 150s + mode=dynamic 150s + getopt -o --long static -n debian/tests/build -- 150s + getopt_temp= -- 150s + eval set -- -- 150s + set -- -- 150s + true 150s + shift 150s + break 150s + mktemp -d 150s + WORKDIR=/tmp/tmp.V1h9evrICT 150s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 150s + cd /tmp/tmp.V1h9evrICT 150s + [ -n ] 150s + CROSS_COMPILE= 150s + cat 150s + cat 150s + cat 150s + cat 150s + cat 150s + cat 150s + cflags= 150s + pcflags= 150s + packages=glib-2.0 150s + pkg-config --cflags --libs glib-2.0 150s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 151s + echo build (glib, dynamic): OK 151s + [ -x glib-dynamic ] 151s + foo=bar ./glib-dynamic 151s build (glib, dynamic): OK 151s + echo run (glib, dynamic): OK 151s + cflags= 151s + pcflags= 151s + packages=gobject-2.0 151s run (glib, dynamic): OK 151s + pkg-config --cflags --libs gobject-2.0 151s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 151s + echo build (gobject, dynamic): OK 151s + [ -x gobject-dynamic ] 151s + foo=bar ./gobject-dynamic 151s build (gobject, dynamic): OK 151s + echo run (gobject, dynamic): OK 151s + cflags= 151s + pcflags= 151s + packages=gio-2.0 151s run (gobject, dynamic): OK 151s + pkg-config --cflags --libs gio-2.0 151s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 151s build (gio, dynamic): OK 151s + echo build (gio, dynamic): OK 151s + [ -x gio-dynamic ] 151s + foo=bar ./gio-dynamic 151s + echo run (gio, dynamic): OK 151s + cflags= 151s + pcflags= 151s + packages=gio-unix-2.0 151s + pkg-config --cflags --libs gio-unix-2.0 151s run (gio, dynamic): OK 151s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 151s build (gio-unix, dynamic): OK 151s + echo build (gio-unix, dynamic): OK 151s + [ -x gio-unix-dynamic ] 151s + foo=bar ./gio-unix-dynamic 151s run (gio-unix, dynamic): OK 151s + echo run (gio-unix, dynamic): OK 151s + cflags= 151s + pcflags= 151s + packages=gmodule-2.0 151s + pkg-config --cflags --libs gmodule-2.0 151s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 151s build (gmodule, dynamic): OK 151s + echo build (gmodule, dynamic): OK 151s + [ -x gmodule-dynamic ] 151s + foo=bar ./gmodule-dynamic 151s + echo run (gmodule, dynamic): OK 151s + cflags= 151s + pcflags= 151s + packages=gthread-2.0 151s + pkg-config --cflags --libs gthread-2.0 151s run (gmodule, dynamic): OK 151s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 151s build (gthread, dynamic): OK 151s + echo build (gthread, dynamic): OK 151s + [ -x gthread-dynamic ] 151s + foo=bar ./gthread-dynamic 151s + echo run (gthread, dynamic): OK 151s + rm -rf /tmp/tmp.V1h9evrICT 151s run (gthread, dynamic): OK 152s autopkgtest [00:50:41]: test build: -----------------------] 152s build PASS (superficial) 152s autopkgtest [00:50:41]: test build: - - - - - - - - - - results - - - - - - - - - - 152s autopkgtest [00:50:41]: test build-static: preparing testbed 153s Reading package lists... 153s Building dependency tree... 153s Reading state information... 153s Starting pkgProblemResolver with broken count: 0 153s Starting 2 pkgProblemResolver with broken count: 0 153s Done 153s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 154s autopkgtest [00:50:43]: test build-static: [----------------------- 154s + mode=dynamic 154s + getopt -o --long static -n debian/tests/build -- --static 154s + getopt_temp= --static -- 154s + eval set -- --static -- 154s + set -- --static -- 154s + true 154s + mode=static 154s + shift 154s + continue 154s + true 154s + shift 154s + break 154s + mktemp -d 154s + WORKDIR=/tmp/tmp.UEm8UnqSJ9 154s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 154s + cd /tmp/tmp.UEm8UnqSJ9 154s + [ -n ] 154s + CROSS_COMPILE= 154s + cat 154s + cat 154s + cat 154s + cat 154s + cat 154s + cat 154s + cflags= 154s + pcflags= 154s + packages=glib-2.0 154s + cflags=-static 154s + pcflags=--static 154s + pkg-config --static --cflags --libs glib-2.0 154s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 155s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 155s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s build (glib, static): OK 155s + echo build (glib, static): OK 155s + [ -x glib-static ] 155s + foo=bar ./glib-static 155s + echo run (glib, static): OK 155s + cflags= 155s + pcflags= 155s + packages=gobject-2.0 155s + cflags=-static 155s + pcflags=--static 155s run (glib, static): OK 155s + pkg-config --static --cflags --libs gobject-2.0 155s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 155s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 155s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s build (gobject, static): OK 155s + echo build (gobject, static): OK 155s + [ -x gobject-static ] 155s + foo=bar ./gobject-static 155s + echo run (gobject, static): OK 155s + cflags= 155s + pcflags= 155s + packages=gio-2.0 155s + cflags=-static 155s + pcflags=--static 155s + continue 155s + cflags= 155s + pcflags= 155s + packages=gio-unix-2.0 155s + cflags=-static 155s + pcflags=--static 155s + continue 155s + cflags= 155s + pcflags= 155s + packages=gmodule-2.0 155s + cflags=-static 155s + pcflags=--static 155s + pkg-config --static --cflags --libs gmodule-2.0 155s run (gobject, static): OK 155s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 155s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 155s (.text+0x904): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 155s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s build (gmodule, static): OK 155s + echo build (gmodule, static): OK 155s + [ -x gmodule-static ] 155s + foo=bar ./gmodule-static 155s run (gmodule, static): OK 155s + echo run (gmodule, static): OK 155s + cflags= 155s + pcflags= 155s + packages=gthread-2.0 155s + cflags=-static 155s + pcflags=--static 155s + pkg-config --static --cflags --libs gthread-2.0 155s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 155s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 155s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 155s build (gthread, static): OK 155s + echo build (gthread, static): OK 155s + [ -x gthread-static ] 155s + foo=bar ./gthread-static 155s + echo run (gthread, static): OK 155s run (gthread, static): OK 155s + rm -rf /tmp/tmp.UEm8UnqSJ9 156s autopkgtest [00:50:45]: test build-static: -----------------------] 156s build-static PASS (superficial) 156s autopkgtest [00:50:45]: test build-static: - - - - - - - - - - results - - - - - - - - - - 156s autopkgtest [00:50:45]: test girepository-tools: preparing testbed 249s autopkgtest [00:52:18]: testbed dpkg architecture: ppc64el 249s autopkgtest [00:52:18]: testbed apt version: 3.0.0 249s autopkgtest [00:52:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 250s autopkgtest [00:52:19]: testbed release detected to be: questing 250s autopkgtest [00:52:19]: updating testbed package index (apt update) 251s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 251s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 251s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 251s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 251s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [31.7 kB] 251s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1031 kB] 251s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [98.1 kB] 251s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [133 kB] 251s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [975 kB] 251s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [18.6 kB] 252s Fetched 2397 kB in 1s (2095 kB/s) 253s Reading package lists... 253s autopkgtest [00:52:22]: upgrading testbed (apt dist-upgrade and autopurge) 253s Reading package lists... 254s Building dependency tree... 254s Reading state information... 254s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 254s Starting 2 pkgProblemResolver with broken count: 0 254s Done 254s Entering ResolveByKeep 254s 255s Calculating upgrade... 255s The following packages will be upgraded: 255s base-passwd btrfs-progs ethtool hwdata less libbpf1 libdebuginfod-common 255s libdebuginfod1t64 libdw1t64 libelf1t64 libevdev2 libmm-glib0 libnghttp2-14 255s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libselinux1 255s libunistring5 libusb-1.0-0 man-db netcat-openbsd patch pnp.ids publicsuffix 255s tzdata usbutils 255s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 255s Need to get 11.3 MB of archives. 255s After this operation, 145 kB of additional disk space will be used. 255s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1 ppc64el 3.8.1-1 [110 kB] 255s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el base-passwd ppc64el 3.6.7 [55.8 kB] 255s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod-common all 0.193-1 [15.6 kB] 255s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el less ppc64el 668-1 [206 kB] 255s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod1t64 ppc64el 0.193-1 [24.1 kB] 255s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdw1t64 ppc64el 0.193-1 [318 kB] 255s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libelf1t64 ppc64el 0.193-1 [67.9 kB] 255s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libbpf1 ppc64el 1:1.5.0-3 [231 kB] 255s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libunistring5 ppc64el 1.3-2 [627 kB] 255s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el netcat-openbsd ppc64el 1.229-1 [45.5 kB] 255s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata all 2025b-3ubuntu1 [198 kB] 255s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ethtool ppc64el 1:6.14-2 [294 kB] 255s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libevdev2 ppc64el 1.13.4+dfsg-1 [38.0 kB] 255s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libnghttp2-14 ppc64el 1.64.0-1.1 [89.7 kB] 255s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libusb-1.0-0 ppc64el 2:1.0.28-1 [64.4 kB] 255s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el man-db ppc64el 2.13.1-1 [1409 kB] 255s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el publicsuffix all 20250328.1952-0.1 [135 kB] 255s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el usbutils ppc64el 1:018-2 [90.0 kB] 255s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el btrfs-progs ppc64el 6.14-1 [1373 kB] 255s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el hwdata all 0.394-1 [1564 B] 255s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el pnp.ids all 0.394-1 [29.5 kB] 255s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libmm-glib0 ppc64el 1.24.0-1 [290 kB] 255s Get:23 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 256s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 256s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 256s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el patch ppc64el 2.8-1 [110 kB] 256s Preconfiguring packages ... 256s Fetched 11.3 MB in 1s (11.9 MB/s) 256s (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 ... 107204 files and directories currently installed.) 256s Preparing to unpack .../libselinux1_3.8.1-1_ppc64el.deb ... 256s Unpacking libselinux1:ppc64el (3.8.1-1) over (3.7-3ubuntu3) ... 256s Setting up libselinux1:ppc64el (3.8.1-1) ... 256s (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 ... 107204 files and directories currently installed.) 256s Preparing to unpack .../base-passwd_3.6.7_ppc64el.deb ... 256s Unpacking base-passwd (3.6.7) over (3.6.6) ... 256s Setting up base-passwd (3.6.7) ... 257s (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 ... 107204 files and directories currently installed.) 257s Preparing to unpack .../00-libdebuginfod-common_0.193-1_all.deb ... 257s Unpacking libdebuginfod-common (0.193-1) over (0.192-4ubuntu1) ... 257s Preparing to unpack .../01-less_668-1_ppc64el.deb ... 257s Unpacking less (668-1) over (643-1) ... 257s Preparing to unpack .../02-libdebuginfod1t64_0.193-1_ppc64el.deb ... 257s Unpacking libdebuginfod1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 257s Preparing to unpack .../03-libdw1t64_0.193-1_ppc64el.deb ... 257s Unpacking libdw1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 257s Preparing to unpack .../04-libelf1t64_0.193-1_ppc64el.deb ... 257s Unpacking libelf1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 257s Preparing to unpack .../05-libbpf1_1%3a1.5.0-3_ppc64el.deb ... 257s Unpacking libbpf1:ppc64el (1:1.5.0-3) over (1:1.5.0-2) ... 257s Preparing to unpack .../06-libunistring5_1.3-2_ppc64el.deb ... 257s Unpacking libunistring5:ppc64el (1.3-2) over (1.3-1) ... 257s Preparing to unpack .../07-netcat-openbsd_1.229-1_ppc64el.deb ... 257s Unpacking netcat-openbsd (1.229-1) over (1.228-1) ... 257s Preparing to unpack .../08-tzdata_2025b-3ubuntu1_all.deb ... 257s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 257s Preparing to unpack .../09-ethtool_1%3a6.14-2_ppc64el.deb ... 257s Unpacking ethtool (1:6.14-2) over (1:6.11-1) ... 257s Preparing to unpack .../10-libevdev2_1.13.4+dfsg-1_ppc64el.deb ... 257s Unpacking libevdev2:ppc64el (1.13.4+dfsg-1) over (1.13.3+dfsg-1) ... 257s Preparing to unpack .../11-libnghttp2-14_1.64.0-1.1_ppc64el.deb ... 257s Unpacking libnghttp2-14:ppc64el (1.64.0-1.1) over (1.64.0-1ubuntu1) ... 257s Preparing to unpack .../12-libusb-1.0-0_2%3a1.0.28-1_ppc64el.deb ... 257s Unpacking libusb-1.0-0:ppc64el (2:1.0.28-1) over (2:1.0.27-2) ... 257s Preparing to unpack .../13-man-db_2.13.1-1_ppc64el.deb ... 257s Unpacking man-db (2.13.1-1) over (2.13.0-1) ... 257s Preparing to unpack .../14-publicsuffix_20250328.1952-0.1_all.deb ... 257s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 257s Preparing to unpack .../15-usbutils_1%3a018-2_ppc64el.deb ... 257s Unpacking usbutils (1:018-2) over (1:018-1) ... 257s Preparing to unpack .../16-btrfs-progs_6.14-1_ppc64el.deb ... 257s Unpacking btrfs-progs (6.14-1) over (6.12-1build1) ... 257s Preparing to unpack .../17-hwdata_0.394-1_all.deb ... 257s Unpacking hwdata (0.394-1) over (0.393-3) ... 257s Preparing to unpack .../18-pnp.ids_0.394-1_all.deb ... 257s Unpacking pnp.ids (0.394-1) over (0.393-3) ... 257s Preparing to unpack .../19-libmm-glib0_1.24.0-1_ppc64el.deb ... 257s Unpacking libmm-glib0:ppc64el (1.24.0-1) over (1.23.4-0ubuntu3) ... 257s Preparing to unpack .../20-libpython3.12t64_3.12.10-1_ppc64el.deb ... 257s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 257s Preparing to unpack .../21-libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 257s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 258s Preparing to unpack .../22-libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 258s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 258s Preparing to unpack .../23-patch_2.8-1_ppc64el.deb ... 258s Unpacking patch (2.8-1) over (2.7.6-7build3) ... 258s Setting up libdebuginfod-common (0.193-1) ... 258s Setting up btrfs-progs (6.14-1) ... 258s Setting up netcat-openbsd (1.229-1) ... 258s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 258s Setting up libnghttp2-14:ppc64el (1.64.0-1.1) ... 258s Setting up less (668-1) ... 258s Setting up man-db (2.13.1-1) ... 258s Updating database of manual pages ... 260s man-db.service is a disabled or a static unit not running, not starting it. 260s Setting up libelf1t64:ppc64el (0.193-1) ... 260s Setting up libdw1t64:ppc64el (0.193-1) ... 260s Setting up tzdata (2025b-3ubuntu1) ... 261s 261s Current default time zone: 'Etc/UTC' 261s Local time is now: Mon May 5 00:52:30 UTC 2025. 261s Universal Time is now: Mon May 5 00:52:30 UTC 2025. 261s Run 'dpkg-reconfigure tzdata' if you wish to change it. 261s 261s Setting up libunistring5:ppc64el (1.3-2) ... 261s Setting up patch (2.8-1) ... 261s Setting up libmm-glib0:ppc64el (1.24.0-1) ... 261s Setting up pnp.ids (0.394-1) ... 261s Setting up libusb-1.0-0:ppc64el (2:1.0.28-1) ... 261s Setting up libevdev2:ppc64el (1.13.4+dfsg-1) ... 261s Setting up publicsuffix (20250328.1952-0.1) ... 261s Setting up libbpf1:ppc64el (1:1.5.0-3) ... 261s Setting up ethtool (1:6.14-2) ... 261s Setting up libdebuginfod1t64:ppc64el (0.193-1) ... 261s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 261s Setting up usbutils (1:018-2) ... 261s Setting up hwdata (0.394-1) ... 261s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 261s Processing triggers for libc-bin (2.41-6ubuntu1) ... 261s Processing triggers for initramfs-tools (0.147ubuntu1) ... 261s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 261s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 270s Reading package lists... 270s Building dependency tree... 270s Reading state information... 270s Starting pkgProblemResolver with broken count: 0 270s Starting 2 pkgProblemResolver with broken count: 0 270s Done 270s Solving dependencies... 271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 271s autopkgtest [00:52:40]: rebooting testbed after setup commands that affected boot 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 304s Starting pkgProblemResolver with broken count: 0 304s Starting 2 pkgProblemResolver with broken count: 0 304s Done 305s The following NEW packages will be installed: 305s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 305s native-architecture 305s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 305s Need to get 1083 kB of archives. 305s After this operation, 13.0 MB of additional disk space will be used. 305s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.84.1-1 [862 kB] 305s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el native-architecture all 0.2.6 [2140 B] 305s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el libgirepository-2.0-0 ppc64el 2.84.1-1 [85.0 kB] 305s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el girepository-tools ppc64el 2.84.1-1 [133 kB] 306s Fetched 1083 kB in 1s (1773 kB/s) 306s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 306s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 107214 files and directories currently installed.) 306s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_ppc64el.deb ... 306s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 306s Selecting previously unselected package native-architecture. 306s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 306s Unpacking native-architecture (0.2.6) ... 306s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 306s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_ppc64el.deb ... 306s Unpacking libgirepository-2.0-0:ppc64el (2.84.1-1) ... 306s Selecting previously unselected package girepository-tools:ppc64el. 306s Preparing to unpack .../girepository-tools_2.84.1-1_ppc64el.deb ... 306s Unpacking girepository-tools:ppc64el (2.84.1-1) ... 306s Setting up native-architecture (0.2.6) ... 306s Setting up libgirepository-2.0-0:ppc64el (2.84.1-1) ... 306s Setting up gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 306s Setting up girepository-tools:ppc64el (2.84.1-1) ... 306s Processing triggers for man-db (2.13.1-1) ... 306s Processing triggers for libc-bin (2.41-6ubuntu1) ... 311s autopkgtest [00:53:20]: test girepository-tools: [----------------------- 311s + cd /tmp/autopkgtest.ocWzCN/autopkgtest_tmp 311s + dpkg-architecture -qDEB_HOST_GNU_TYPE 311s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 311s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 311s + dpkg-architecture -qDEB_HOST_MULTIARCH 311s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 311s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 311s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 311s typelib: GLib-2.0 311s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 311s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 312s autopkgtest [00:53:21]: test girepository-tools: -----------------------] 312s girepository-tools PASS (superficial) 312s autopkgtest [00:53:21]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 312s autopkgtest [00:53:21]: test libgio-2.0-dev-bin: preparing testbed 392s autopkgtest [00:54:41]: testbed dpkg architecture: ppc64el 392s autopkgtest [00:54:41]: testbed apt version: 3.0.0 392s autopkgtest [00:54:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 392s autopkgtest [00:54:41]: testbed release detected to be: questing 393s autopkgtest [00:54:42]: updating testbed package index (apt update) 393s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 394s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 394s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 394s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 394s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [31.7 kB] 394s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [98.1 kB] 394s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1031 kB] 394s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [133 kB] 394s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [975 kB] 394s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [18.6 kB] 395s Fetched 2397 kB in 1s (2004 kB/s) 396s Reading package lists... 396s autopkgtest [00:54:45]: upgrading testbed (apt dist-upgrade and autopurge) 396s Reading package lists... 397s Building dependency tree... 397s Reading state information... 397s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 397s Starting 2 pkgProblemResolver with broken count: 0 397s Done 397s Entering ResolveByKeep 398s 398s Calculating upgrade... 398s The following packages will be upgraded: 398s base-passwd btrfs-progs ethtool hwdata less libbpf1 libdebuginfod-common 398s libdebuginfod1t64 libdw1t64 libelf1t64 libevdev2 libmm-glib0 libnghttp2-14 398s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libselinux1 398s libunistring5 libusb-1.0-0 man-db netcat-openbsd patch pnp.ids publicsuffix 398s tzdata usbutils 398s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 398s Need to get 11.3 MB of archives. 398s After this operation, 145 kB of additional disk space will be used. 398s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1 ppc64el 3.8.1-1 [110 kB] 398s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el base-passwd ppc64el 3.6.7 [55.8 kB] 398s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod-common all 0.193-1 [15.6 kB] 398s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el less ppc64el 668-1 [206 kB] 398s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod1t64 ppc64el 0.193-1 [24.1 kB] 398s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdw1t64 ppc64el 0.193-1 [318 kB] 398s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libelf1t64 ppc64el 0.193-1 [67.9 kB] 398s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libbpf1 ppc64el 1:1.5.0-3 [231 kB] 398s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libunistring5 ppc64el 1.3-2 [627 kB] 399s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el netcat-openbsd ppc64el 1.229-1 [45.5 kB] 399s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata all 2025b-3ubuntu1 [198 kB] 399s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ethtool ppc64el 1:6.14-2 [294 kB] 399s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libevdev2 ppc64el 1.13.4+dfsg-1 [38.0 kB] 399s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libnghttp2-14 ppc64el 1.64.0-1.1 [89.7 kB] 399s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libusb-1.0-0 ppc64el 2:1.0.28-1 [64.4 kB] 399s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el man-db ppc64el 2.13.1-1 [1409 kB] 399s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el publicsuffix all 20250328.1952-0.1 [135 kB] 399s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el usbutils ppc64el 1:018-2 [90.0 kB] 399s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el btrfs-progs ppc64el 6.14-1 [1373 kB] 399s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el hwdata all 0.394-1 [1564 B] 399s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el pnp.ids all 0.394-1 [29.5 kB] 399s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libmm-glib0 ppc64el 1.24.0-1 [290 kB] 399s Get:23 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 399s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 399s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 399s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el patch ppc64el 2.8-1 [110 kB] 399s Preconfiguring packages ... 399s Fetched 11.3 MB in 1s (10.5 MB/s) 400s (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 ... 107204 files and directories currently installed.) 400s Preparing to unpack .../libselinux1_3.8.1-1_ppc64el.deb ... 400s Unpacking libselinux1:ppc64el (3.8.1-1) over (3.7-3ubuntu3) ... 400s Setting up libselinux1:ppc64el (3.8.1-1) ... 400s (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 ... 107204 files and directories currently installed.) 400s Preparing to unpack .../base-passwd_3.6.7_ppc64el.deb ... 400s Unpacking base-passwd (3.6.7) over (3.6.6) ... 400s Setting up base-passwd (3.6.7) ... 400s (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 ... 107204 files and directories currently installed.) 400s Preparing to unpack .../00-libdebuginfod-common_0.193-1_all.deb ... 400s Unpacking libdebuginfod-common (0.193-1) over (0.192-4ubuntu1) ... 400s Preparing to unpack .../01-less_668-1_ppc64el.deb ... 400s Unpacking less (668-1) over (643-1) ... 400s Preparing to unpack .../02-libdebuginfod1t64_0.193-1_ppc64el.deb ... 400s Unpacking libdebuginfod1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 400s Preparing to unpack .../03-libdw1t64_0.193-1_ppc64el.deb ... 400s Unpacking libdw1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 400s Preparing to unpack .../04-libelf1t64_0.193-1_ppc64el.deb ... 400s Unpacking libelf1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 400s Preparing to unpack .../05-libbpf1_1%3a1.5.0-3_ppc64el.deb ... 400s Unpacking libbpf1:ppc64el (1:1.5.0-3) over (1:1.5.0-2) ... 400s Preparing to unpack .../06-libunistring5_1.3-2_ppc64el.deb ... 400s Unpacking libunistring5:ppc64el (1.3-2) over (1.3-1) ... 400s Preparing to unpack .../07-netcat-openbsd_1.229-1_ppc64el.deb ... 400s Unpacking netcat-openbsd (1.229-1) over (1.228-1) ... 400s Preparing to unpack .../08-tzdata_2025b-3ubuntu1_all.deb ... 400s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 400s Preparing to unpack .../09-ethtool_1%3a6.14-2_ppc64el.deb ... 400s Unpacking ethtool (1:6.14-2) over (1:6.11-1) ... 400s Preparing to unpack .../10-libevdev2_1.13.4+dfsg-1_ppc64el.deb ... 400s Unpacking libevdev2:ppc64el (1.13.4+dfsg-1) over (1.13.3+dfsg-1) ... 400s Preparing to unpack .../11-libnghttp2-14_1.64.0-1.1_ppc64el.deb ... 400s Unpacking libnghttp2-14:ppc64el (1.64.0-1.1) over (1.64.0-1ubuntu1) ... 400s Preparing to unpack .../12-libusb-1.0-0_2%3a1.0.28-1_ppc64el.deb ... 400s Unpacking libusb-1.0-0:ppc64el (2:1.0.28-1) over (2:1.0.27-2) ... 400s Preparing to unpack .../13-man-db_2.13.1-1_ppc64el.deb ... 400s Unpacking man-db (2.13.1-1) over (2.13.0-1) ... 400s Preparing to unpack .../14-publicsuffix_20250328.1952-0.1_all.deb ... 400s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 400s Preparing to unpack .../15-usbutils_1%3a018-2_ppc64el.deb ... 400s Unpacking usbutils (1:018-2) over (1:018-1) ... 400s Preparing to unpack .../16-btrfs-progs_6.14-1_ppc64el.deb ... 400s Unpacking btrfs-progs (6.14-1) over (6.12-1build1) ... 401s Preparing to unpack .../17-hwdata_0.394-1_all.deb ... 401s Unpacking hwdata (0.394-1) over (0.393-3) ... 401s Preparing to unpack .../18-pnp.ids_0.394-1_all.deb ... 401s Unpacking pnp.ids (0.394-1) over (0.393-3) ... 401s Preparing to unpack .../19-libmm-glib0_1.24.0-1_ppc64el.deb ... 401s Unpacking libmm-glib0:ppc64el (1.24.0-1) over (1.23.4-0ubuntu3) ... 401s Preparing to unpack .../20-libpython3.12t64_3.12.10-1_ppc64el.deb ... 401s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 401s Preparing to unpack .../21-libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 401s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 401s Preparing to unpack .../22-libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 401s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 401s Preparing to unpack .../23-patch_2.8-1_ppc64el.deb ... 401s Unpacking patch (2.8-1) over (2.7.6-7build3) ... 401s Setting up libdebuginfod-common (0.193-1) ... 401s Setting up btrfs-progs (6.14-1) ... 401s Setting up netcat-openbsd (1.229-1) ... 401s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 401s Setting up libnghttp2-14:ppc64el (1.64.0-1.1) ... 401s Setting up less (668-1) ... 401s Setting up man-db (2.13.1-1) ... 401s Updating database of manual pages ... 404s man-db.service is a disabled or a static unit not running, not starting it. 404s Setting up libelf1t64:ppc64el (0.193-1) ... 404s Setting up libdw1t64:ppc64el (0.193-1) ... 404s Setting up tzdata (2025b-3ubuntu1) ... 404s 404s Current default time zone: 'Etc/UTC' 404s Local time is now: Mon May 5 00:54:53 UTC 2025. 404s Universal Time is now: Mon May 5 00:54:53 UTC 2025. 404s Run 'dpkg-reconfigure tzdata' if you wish to change it. 404s 404s Setting up libunistring5:ppc64el (1.3-2) ... 404s Setting up patch (2.8-1) ... 404s Setting up libmm-glib0:ppc64el (1.24.0-1) ... 404s Setting up pnp.ids (0.394-1) ... 404s Setting up libusb-1.0-0:ppc64el (2:1.0.28-1) ... 404s Setting up libevdev2:ppc64el (1.13.4+dfsg-1) ... 404s Setting up publicsuffix (20250328.1952-0.1) ... 404s Setting up libbpf1:ppc64el (1:1.5.0-3) ... 404s Setting up ethtool (1:6.14-2) ... 404s Setting up libdebuginfod1t64:ppc64el (0.193-1) ... 404s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 404s Setting up usbutils (1:018-2) ... 404s Setting up hwdata (0.394-1) ... 404s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 404s Processing triggers for libc-bin (2.41-6ubuntu1) ... 404s Processing triggers for initramfs-tools (0.147ubuntu1) ... 404s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 404s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 413s Reading package lists... 413s Building dependency tree... 413s Reading state information... 414s Starting pkgProblemResolver with broken count: 0 414s Starting 2 pkgProblemResolver with broken count: 0 414s Done 414s Solving dependencies... 414s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 414s autopkgtest [00:55:03]: rebooting testbed after setup commands that affected boot 449s Reading package lists... 449s Building dependency tree... 449s Reading state information... 449s Starting pkgProblemResolver with broken count: 0 449s Starting 2 pkgProblemResolver with broken count: 0 449s Done 450s The following NEW packages will be installed: 450s libgio-2.0-dev-bin python3-packaging 450s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 450s Need to get 183 kB of archives. 450s After this operation, 1068 kB of additional disk space will be used. 450s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 450s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev-bin ppc64el 2.84.1-1 [131 kB] 450s Fetched 183 kB in 0s (408 kB/s) 450s Selecting previously unselected package python3-packaging. 451s (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 ... 107214 files and directories currently installed.) 451s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 451s Unpacking python3-packaging (24.2-1) ... 451s Selecting previously unselected package libgio-2.0-dev-bin. 451s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_ppc64el.deb ... 451s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 451s Setting up python3-packaging (24.2-1) ... 451s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 451s Processing triggers for man-db (2.13.1-1) ... 456s autopkgtest [00:55:45]: test libgio-2.0-dev-bin: [----------------------- 456s + gdbus-codegen --help 456s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 456s [--c-namespace NAMESPACE] [--c-generate-object-manager] 456s [--c-generate-autocleanup {none,objects,all}] 456s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 456s [--generate-rst OUTFILES] [--pragma-once] 456s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 456s [--glib-min-required VERSION] 456s [--glib-max-allowed VERSION] 456s [--symbol-decorator SYMBOL_DECORATOR] 456s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 456s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 456s [--generate-c-code OUTFILES | --header | --body | 456s --interface-info-header | --interface-info-body] 456s [--output FILE | --output-directory OUTDIR] 456s FILE [FILE ...] 456s 456s D-Bus code and documentation generator 456s 456s positional arguments: 456s FILE D-Bus introspection XML file 456s 456s options: 456s -h, --help show this help message and exit 456s --interface-prefix PREFIX 456s String to strip from D-Bus interface names for code 456s and docs 456s --c-namespace NAMESPACE 456s The namespace to use for generated C code 456s --c-generate-object-manager 456s Generate a GDBusObjectManagerClient subclass when 456s generating C code 456s --c-generate-autocleanup {none,objects,all} 456s Generate autocleanup support 456s --generate-docbook OUTFILES 456s Generate Docbook in OUTFILES-org.Project.IFace.xml 456s --generate-md OUTFILES 456s Generate Markdown in OUTFILES-org.Project.IFace.md 456s --generate-rst OUTFILES 456s Generate reStructuredText in OUTFILES- 456s org.Project.IFace.rst 456s --pragma-once Use "pragma once" as the inclusion guard 456s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 456s Add annotation (may be used several times) 456s --glib-min-required VERSION 456s Minimum version of GLib to be supported by the 456s outputted code (default: 2.30) 456s --glib-max-allowed VERSION 456s Maximum version of GLib to be used by the outputted 456s code (default: current GLib version) 456s --symbol-decorator SYMBOL_DECORATOR 456s Macro used to decorate a symbol in the outputted 456s header, possibly to export symbols 456s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 456s Additional header required for decorator specified by 456s --symbol-decorator 456s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 456s Additional define required for decorator specified by 456s --symbol-decorator 456s --generate-c-code OUTFILES 456s Generate C code in OUTFILES.[ch] 456s --header Generate C headers 456s --body Generate C code 456s --interface-info-header 456s Generate GDBusInterfaceInfo C header 456s --interface-info-body 456s Generate GDBusInterfaceInfo C code 456s --output FILE Write output into the specified file 456s --output-directory OUTDIR 456s Location to output generated files 456s + glib-compile-resources --version 456s + glib-genmarshal --version 456s 2.84.1 456s glib-genmarshal version 2.84.1 456s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 456s You may redistribute copies of glib-genmarshal under the terms of 456s the GNU General Public License which can be found in the 456s GLib source package. Sources, examples and contact 456s information are available at http://www.gtk.org 456s + glib-gettextize --version 456s /usr/bin/glib-gettextize (GNU glib) 2.84.1 456s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 456s This is free software; see the source for copying conditions. There is NO 456s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 456s Written by Ulrich Drepper 456s + glib-mkenums --version 456s glib-mkenums version 2.84.1 456s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 456s You may redistribute copies of glib-mkenums under the terms of 456s the GNU General Public License which can be found in the 456s GLib source package. Sources, examples and contact 456s information are available at http://www.gtk.org 456s + gobject-query tree 456s GObject 456s + gtester --version 456s gtester version 2.84.1 456s + gtester-report --version 456s gtester-report (GLib utils) version 2.84.1. 457s autopkgtest [00:55:46]: test libgio-2.0-dev-bin: -----------------------] 457s libgio-2.0-dev-bin PASS (superficial) 457s autopkgtest [00:55:46]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 457s autopkgtest [00:55:46]: test libglib2.0-dev: preparing testbed 556s autopkgtest [00:57:25]: testbed dpkg architecture: ppc64el 556s autopkgtest [00:57:25]: testbed apt version: 3.0.0 557s autopkgtest [00:57:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 557s autopkgtest [00:57:26]: testbed release detected to be: questing 558s autopkgtest [00:57:27]: updating testbed package index (apt update) 558s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 558s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 558s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 558s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 558s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1031 kB] 559s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [31.7 kB] 559s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [98.1 kB] 559s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [133 kB] 559s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [975 kB] 559s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [18.6 kB] 559s Fetched 2397 kB in 1s (2161 kB/s) 560s Reading package lists... 561s autopkgtest [00:57:30]: upgrading testbed (apt dist-upgrade and autopurge) 561s Reading package lists... 561s Building dependency tree... 561s Reading state information... 561s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 561s Starting 2 pkgProblemResolver with broken count: 0 561s Done 562s Entering ResolveByKeep 562s 562s Calculating upgrade... 562s The following packages will be upgraded: 562s base-passwd btrfs-progs ethtool hwdata less libbpf1 libdebuginfod-common 562s libdebuginfod1t64 libdw1t64 libelf1t64 libevdev2 libmm-glib0 libnghttp2-14 562s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libselinux1 562s libunistring5 libusb-1.0-0 man-db netcat-openbsd patch pnp.ids publicsuffix 562s tzdata usbutils 563s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 563s Need to get 11.3 MB of archives. 563s After this operation, 145 kB of additional disk space will be used. 563s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1 ppc64el 3.8.1-1 [110 kB] 563s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el base-passwd ppc64el 3.6.7 [55.8 kB] 563s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod-common all 0.193-1 [15.6 kB] 563s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el less ppc64el 668-1 [206 kB] 563s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod1t64 ppc64el 0.193-1 [24.1 kB] 563s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdw1t64 ppc64el 0.193-1 [318 kB] 563s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libelf1t64 ppc64el 0.193-1 [67.9 kB] 563s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libbpf1 ppc64el 1:1.5.0-3 [231 kB] 563s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libunistring5 ppc64el 1.3-2 [627 kB] 563s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el netcat-openbsd ppc64el 1.229-1 [45.5 kB] 563s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata all 2025b-3ubuntu1 [198 kB] 563s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ethtool ppc64el 1:6.14-2 [294 kB] 563s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libevdev2 ppc64el 1.13.4+dfsg-1 [38.0 kB] 563s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libnghttp2-14 ppc64el 1.64.0-1.1 [89.7 kB] 563s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libusb-1.0-0 ppc64el 2:1.0.28-1 [64.4 kB] 563s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el man-db ppc64el 2.13.1-1 [1409 kB] 563s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el publicsuffix all 20250328.1952-0.1 [135 kB] 563s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el usbutils ppc64el 1:018-2 [90.0 kB] 563s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el btrfs-progs ppc64el 6.14-1 [1373 kB] 563s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el hwdata all 0.394-1 [1564 B] 563s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el pnp.ids all 0.394-1 [29.5 kB] 563s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libmm-glib0 ppc64el 1.24.0-1 [290 kB] 563s Get:23 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 563s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 563s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 563s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el patch ppc64el 2.8-1 [110 kB] 564s Preconfiguring packages ... 564s Fetched 11.3 MB in 1s (10.4 MB/s) 564s (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 ... 107204 files and directories currently installed.) 564s Preparing to unpack .../libselinux1_3.8.1-1_ppc64el.deb ... 564s Unpacking libselinux1:ppc64el (3.8.1-1) over (3.7-3ubuntu3) ... 564s Setting up libselinux1:ppc64el (3.8.1-1) ... 564s (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 ... 107204 files and directories currently installed.) 564s Preparing to unpack .../base-passwd_3.6.7_ppc64el.deb ... 564s Unpacking base-passwd (3.6.7) over (3.6.6) ... 564s Setting up base-passwd (3.6.7) ... 565s (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 ... 107204 files and directories currently installed.) 565s Preparing to unpack .../00-libdebuginfod-common_0.193-1_all.deb ... 565s Unpacking libdebuginfod-common (0.193-1) over (0.192-4ubuntu1) ... 565s Preparing to unpack .../01-less_668-1_ppc64el.deb ... 565s Unpacking less (668-1) over (643-1) ... 565s Preparing to unpack .../02-libdebuginfod1t64_0.193-1_ppc64el.deb ... 565s Unpacking libdebuginfod1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 565s Preparing to unpack .../03-libdw1t64_0.193-1_ppc64el.deb ... 565s Unpacking libdw1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 565s Preparing to unpack .../04-libelf1t64_0.193-1_ppc64el.deb ... 565s Unpacking libelf1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 565s Preparing to unpack .../05-libbpf1_1%3a1.5.0-3_ppc64el.deb ... 565s Unpacking libbpf1:ppc64el (1:1.5.0-3) over (1:1.5.0-2) ... 565s Preparing to unpack .../06-libunistring5_1.3-2_ppc64el.deb ... 565s Unpacking libunistring5:ppc64el (1.3-2) over (1.3-1) ... 565s Preparing to unpack .../07-netcat-openbsd_1.229-1_ppc64el.deb ... 565s Unpacking netcat-openbsd (1.229-1) over (1.228-1) ... 565s Preparing to unpack .../08-tzdata_2025b-3ubuntu1_all.deb ... 565s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 565s Preparing to unpack .../09-ethtool_1%3a6.14-2_ppc64el.deb ... 565s Unpacking ethtool (1:6.14-2) over (1:6.11-1) ... 565s Preparing to unpack .../10-libevdev2_1.13.4+dfsg-1_ppc64el.deb ... 565s Unpacking libevdev2:ppc64el (1.13.4+dfsg-1) over (1.13.3+dfsg-1) ... 565s Preparing to unpack .../11-libnghttp2-14_1.64.0-1.1_ppc64el.deb ... 565s Unpacking libnghttp2-14:ppc64el (1.64.0-1.1) over (1.64.0-1ubuntu1) ... 565s Preparing to unpack .../12-libusb-1.0-0_2%3a1.0.28-1_ppc64el.deb ... 565s Unpacking libusb-1.0-0:ppc64el (2:1.0.28-1) over (2:1.0.27-2) ... 565s Preparing to unpack .../13-man-db_2.13.1-1_ppc64el.deb ... 565s Unpacking man-db (2.13.1-1) over (2.13.0-1) ... 565s Preparing to unpack .../14-publicsuffix_20250328.1952-0.1_all.deb ... 565s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 565s Preparing to unpack .../15-usbutils_1%3a018-2_ppc64el.deb ... 565s Unpacking usbutils (1:018-2) over (1:018-1) ... 565s Preparing to unpack .../16-btrfs-progs_6.14-1_ppc64el.deb ... 565s Unpacking btrfs-progs (6.14-1) over (6.12-1build1) ... 565s Preparing to unpack .../17-hwdata_0.394-1_all.deb ... 565s Unpacking hwdata (0.394-1) over (0.393-3) ... 565s Preparing to unpack .../18-pnp.ids_0.394-1_all.deb ... 565s Unpacking pnp.ids (0.394-1) over (0.393-3) ... 565s Preparing to unpack .../19-libmm-glib0_1.24.0-1_ppc64el.deb ... 565s Unpacking libmm-glib0:ppc64el (1.24.0-1) over (1.23.4-0ubuntu3) ... 565s Preparing to unpack .../20-libpython3.12t64_3.12.10-1_ppc64el.deb ... 565s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 565s Preparing to unpack .../21-libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 565s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 566s Preparing to unpack .../22-libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 566s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 566s Preparing to unpack .../23-patch_2.8-1_ppc64el.deb ... 566s Unpacking patch (2.8-1) over (2.7.6-7build3) ... 566s Setting up libdebuginfod-common (0.193-1) ... 566s Setting up btrfs-progs (6.14-1) ... 566s Setting up netcat-openbsd (1.229-1) ... 566s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 566s Setting up libnghttp2-14:ppc64el (1.64.0-1.1) ... 566s Setting up less (668-1) ... 566s Setting up man-db (2.13.1-1) ... 566s Updating database of manual pages ... 569s man-db.service is a disabled or a static unit not running, not starting it. 569s Setting up libelf1t64:ppc64el (0.193-1) ... 569s Setting up libdw1t64:ppc64el (0.193-1) ... 569s Setting up tzdata (2025b-3ubuntu1) ... 569s 569s Current default time zone: 'Etc/UTC' 569s Local time is now: Mon May 5 00:57:38 UTC 2025. 569s Universal Time is now: Mon May 5 00:57:38 UTC 2025. 569s Run 'dpkg-reconfigure tzdata' if you wish to change it. 569s 569s Setting up libunistring5:ppc64el (1.3-2) ... 569s Setting up patch (2.8-1) ... 569s Setting up libmm-glib0:ppc64el (1.24.0-1) ... 569s Setting up pnp.ids (0.394-1) ... 569s Setting up libusb-1.0-0:ppc64el (2:1.0.28-1) ... 569s Setting up libevdev2:ppc64el (1.13.4+dfsg-1) ... 569s Setting up publicsuffix (20250328.1952-0.1) ... 569s Setting up libbpf1:ppc64el (1:1.5.0-3) ... 569s Setting up ethtool (1:6.14-2) ... 569s Setting up libdebuginfod1t64:ppc64el (0.193-1) ... 569s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 569s Setting up usbutils (1:018-2) ... 569s Setting up hwdata (0.394-1) ... 569s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 569s Processing triggers for libc-bin (2.41-6ubuntu1) ... 569s Processing triggers for initramfs-tools (0.147ubuntu1) ... 569s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 569s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 579s Reading package lists... 579s Building dependency tree... 579s Reading state information... 579s Starting pkgProblemResolver with broken count: 0 579s Starting 2 pkgProblemResolver with broken count: 0 579s Done 580s Solving dependencies... 580s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 580s autopkgtest [00:57:49]: rebooting testbed after setup commands that affected boot 614s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 623s Reading package lists... 623s Building dependency tree... 623s Reading state information... 624s Starting pkgProblemResolver with broken count: 0 624s Starting 2 pkgProblemResolver with broken count: 0 624s Done 624s The following NEW packages will be installed: 624s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 624s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 624s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 624s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 624s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev 624s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 624s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 624s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 624s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 624s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 624s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 624s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 624s Need to get 64.9 MB of archives. 624s After this operation, 250 MB of additional disk space will be used. 624s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 625s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 625s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [10.5 MB] 625s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-14 ppc64el 14.2.0-19ubuntu2 [1036 B] 625s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [5566 B] 625s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp ppc64el 4:14.2.0-1ubuntu1 [22.4 kB] 625s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el libcc1-0 ppc64el 15-20250404-0ubuntu1 [48.6 kB] 625s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libgomp1 ppc64el 15-20250404-0ubuntu1 [168 kB] 625s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libitm1 ppc64el 15-20250404-0ubuntu1 [32.3 kB] 625s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libasan8 ppc64el 15-20250404-0ubuntu1 [3007 kB] 625s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el liblsan0 ppc64el 15-20250404-0ubuntu1 [1374 kB] 625s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libtsan2 ppc64el 15-20250404-0ubuntu1 [2732 kB] 625s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libubsan1 ppc64el 15-20250404-0ubuntu1 [1232 kB] 626s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libquadmath0 ppc64el 15-20250404-0ubuntu1 [160 kB] 626s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libgcc-14-dev ppc64el 14.2.0-19ubuntu2 [1618 kB] 626s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [20.6 MB] 626s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-14 ppc64el 14.2.0-19ubuntu2 [540 kB] 626s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [1226 B] 626s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc ppc64el 4:14.2.0-1ubuntu1 [5012 B] 626s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el libstdc++-14-dev ppc64el 14.2.0-19ubuntu2 [2679 kB] 626s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-19ubuntu2 [12.0 MB] 627s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-14 ppc64el 14.2.0-19ubuntu2 [23.0 kB] 627s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [966 B] 627s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el g++ ppc64el 4:14.2.0-1ubuntu1 [1088 B] 627s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 627s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.84.1-1 [862 kB] 627s Get:27 http://ftpmaster.internal/ubuntu questing/main ppc64el native-architecture all 0.2.6 [2140 B] 627s Get:28 http://ftpmaster.internal/ubuntu questing/main ppc64el libgirepository-2.0-0 ppc64el 2.84.1-1 [85.0 kB] 627s Get:29 http://ftpmaster.internal/ubuntu questing/main ppc64el girepository-tools ppc64el 2.84.1-1 [133 kB] 627s Get:30 http://ftpmaster.internal/ubuntu questing/main ppc64el libffi-dev ppc64el 3.4.7-1 [67.7 kB] 627s Get:31 http://ftpmaster.internal/ubuntu questing/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB] 627s Get:32 http://ftpmaster.internal/ubuntu questing/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB] 627s Get:33 http://ftpmaster.internal/ubuntu questing/main ppc64el libsepol-dev ppc64el 3.8.1-1 [505 kB] 627s Get:34 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-16-0 ppc64el 10.45-1 [286 kB] 627s Get:35 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-32-0 ppc64el 10.45-1 [269 kB] 627s Get:36 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-posix3 ppc64el 10.45-1 [7390 B] 627s Get:37 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-dev ppc64el 10.45-1 [921 kB] 627s Get:38 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1-dev ppc64el 3.8.1-1 [204 kB] 627s Get:39 http://ftpmaster.internal/ubuntu questing/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB] 627s Get:40 http://ftpmaster.internal/ubuntu questing/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 627s Get:41 http://ftpmaster.internal/ubuntu questing/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 627s Get:42 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 627s Get:43 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 627s Get:44 http://ftpmaster.internal/ubuntu questing/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 627s Get:45 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev ppc64el 2.84.1-1 [2162 kB] 627s Get:46 http://ftpmaster.internal/ubuntu questing/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 627s Get:47 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev-bin ppc64el 2.84.1-1 [131 kB] 627s Get:48 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-bin ppc64el 2.84.1-1 [111 kB] 627s Get:49 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-dev-bin ppc64el 2.84.1-1 [18.1 kB] 627s Get:50 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-dev ppc64el 2.84.1-1 [18.9 kB] 627s Fetched 64.9 MB in 3s (24.0 MB/s) 627s Selecting previously unselected package libisl23:ppc64el. 628s (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 ... 107214 files and directories currently installed.) 628s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 628s Unpacking libisl23:ppc64el (0.27-1) ... 628s Selecting previously unselected package libmpc3:ppc64el. 628s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 628s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 628s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 628s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 628s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 628s Selecting previously unselected package cpp-14. 628s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_ppc64el.deb ... 628s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 628s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 628s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 628s Unpacking cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 628s Selecting previously unselected package cpp. 628s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 628s Unpacking cpp (4:14.2.0-1ubuntu1) ... 628s Selecting previously unselected package libcc1-0:ppc64el. 628s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libgomp1:ppc64el. 628s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libgomp1:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libitm1:ppc64el. 628s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libitm1:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libasan8:ppc64el. 628s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libasan8:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package liblsan0:ppc64el. 628s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking liblsan0:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libtsan2:ppc64el. 628s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libtsan2:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libubsan1:ppc64el. 628s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libubsan1:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libquadmath0:ppc64el. 628s Preparing to unpack .../13-libquadmath0_15-20250404-0ubuntu1_ppc64el.deb ... 628s Unpacking libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 628s Selecting previously unselected package libgcc-14-dev:ppc64el. 628s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 628s Unpacking libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 628s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 628s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 628s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 629s Selecting previously unselected package gcc-14. 629s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_ppc64el.deb ... 629s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 629s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 629s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 629s Unpacking gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 629s Selecting previously unselected package gcc. 629s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 629s Unpacking gcc (4:14.2.0-1ubuntu1) ... 629s Selecting previously unselected package libstdc++-14-dev:ppc64el. 629s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_ppc64el.deb ... 629s Unpacking libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 629s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 629s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-19ubuntu2_ppc64el.deb ... 629s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 629s Selecting previously unselected package g++-14. 629s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_ppc64el.deb ... 629s Unpacking g++-14 (14.2.0-19ubuntu2) ... 629s Selecting previously unselected package g++-powerpc64le-linux-gnu. 629s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 629s Unpacking g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 629s Selecting previously unselected package g++. 629s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_ppc64el.deb ... 629s Unpacking g++ (4:14.2.0-1ubuntu1) ... 629s Selecting previously unselected package build-essential. 629s Preparing to unpack .../24-build-essential_12.12ubuntu1_ppc64el.deb ... 629s Unpacking build-essential (12.12ubuntu1) ... 629s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 629s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.84.1-1_ppc64el.deb ... 629s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 629s Selecting previously unselected package native-architecture. 629s Preparing to unpack .../26-native-architecture_0.2.6_all.deb ... 629s Unpacking native-architecture (0.2.6) ... 629s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 629s Preparing to unpack .../27-libgirepository-2.0-0_2.84.1-1_ppc64el.deb ... 629s Unpacking libgirepository-2.0-0:ppc64el (2.84.1-1) ... 629s Selecting previously unselected package girepository-tools:ppc64el. 629s Preparing to unpack .../28-girepository-tools_2.84.1-1_ppc64el.deb ... 629s Unpacking girepository-tools:ppc64el (2.84.1-1) ... 629s Selecting previously unselected package libffi-dev:ppc64el. 629s Preparing to unpack .../29-libffi-dev_3.4.7-1_ppc64el.deb ... 629s Unpacking libffi-dev:ppc64el (3.4.7-1) ... 629s Selecting previously unselected package uuid-dev:ppc64el. 629s Preparing to unpack .../30-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 629s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 629s Selecting previously unselected package libblkid-dev:ppc64el. 629s Preparing to unpack .../31-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 629s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 629s Selecting previously unselected package libsepol-dev:ppc64el. 629s Preparing to unpack .../32-libsepol-dev_3.8.1-1_ppc64el.deb ... 629s Unpacking libsepol-dev:ppc64el (3.8.1-1) ... 629s Selecting previously unselected package libpcre2-16-0:ppc64el. 629s Preparing to unpack .../33-libpcre2-16-0_10.45-1_ppc64el.deb ... 629s Unpacking libpcre2-16-0:ppc64el (10.45-1) ... 629s Selecting previously unselected package libpcre2-32-0:ppc64el. 629s Preparing to unpack .../34-libpcre2-32-0_10.45-1_ppc64el.deb ... 629s Unpacking libpcre2-32-0:ppc64el (10.45-1) ... 629s Selecting previously unselected package libpcre2-posix3:ppc64el. 629s Preparing to unpack .../35-libpcre2-posix3_10.45-1_ppc64el.deb ... 629s Unpacking libpcre2-posix3:ppc64el (10.45-1) ... 629s Selecting previously unselected package libpcre2-dev:ppc64el. 629s Preparing to unpack .../36-libpcre2-dev_10.45-1_ppc64el.deb ... 629s Unpacking libpcre2-dev:ppc64el (10.45-1) ... 629s Selecting previously unselected package libselinux1-dev:ppc64el. 629s Preparing to unpack .../37-libselinux1-dev_3.8.1-1_ppc64el.deb ... 629s Unpacking libselinux1-dev:ppc64el (3.8.1-1) ... 629s Selecting previously unselected package libmount-dev:ppc64el. 629s Preparing to unpack .../38-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ... 629s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 629s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 629s Preparing to unpack .../39-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 629s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 629s Selecting previously unselected package libpkgconf3:ppc64el. 629s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 629s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 629s Selecting previously unselected package pkgconf-bin. 629s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 629s Unpacking pkgconf-bin (1.8.1-4) ... 629s Selecting previously unselected package pkgconf:ppc64el. 629s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 629s Unpacking pkgconf:ppc64el (1.8.1-4) ... 629s Selecting previously unselected package zlib1g-dev:ppc64el. 629s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 629s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 629s Selecting previously unselected package libgio-2.0-dev:ppc64el. 629s Preparing to unpack .../44-libgio-2.0-dev_2.84.1-1_ppc64el.deb ... 629s Unpacking libgio-2.0-dev:ppc64el (2.84.1-1) ... 630s Selecting previously unselected package python3-packaging. 630s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 630s Unpacking python3-packaging (24.2-1) ... 630s Selecting previously unselected package libgio-2.0-dev-bin. 630s Preparing to unpack .../46-libgio-2.0-dev-bin_2.84.1-1_ppc64el.deb ... 630s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 630s Selecting previously unselected package libglib2.0-bin. 630s Preparing to unpack .../47-libglib2.0-bin_2.84.1-1_ppc64el.deb ... 630s Unpacking libglib2.0-bin (2.84.1-1) ... 630s Selecting previously unselected package libglib2.0-dev-bin. 630s Preparing to unpack .../48-libglib2.0-dev-bin_2.84.1-1_ppc64el.deb ... 630s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 630s Selecting previously unselected package libglib2.0-dev:ppc64el. 630s Preparing to unpack .../49-libglib2.0-dev_2.84.1-1_ppc64el.deb ... 630s Unpacking libglib2.0-dev:ppc64el (2.84.1-1) ... 630s Setting up native-architecture (0.2.6) ... 630s Setting up libgirepository-2.0-0:ppc64el (2.84.1-1) ... 630s Setting up libglib2.0-bin (2.84.1-1) ... 630s Setting up libgomp1:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up libffi-dev:ppc64el (3.4.7-1) ... 630s Setting up libpcre2-16-0:ppc64el (10.45-1) ... 630s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 630s Setting up libpcre2-32-0:ppc64el (10.45-1) ... 630s Setting up python3-packaging (24.2-1) ... 630s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 630s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 630s Setting up libquadmath0:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 630s Setting up libsepol-dev:ppc64el (3.8.1-1) ... 630s Setting up pkgconf-bin (1.8.1-4) ... 630s Setting up libubsan1:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 630s Setting up libpcre2-posix3:ppc64el (10.45-1) ... 630s Setting up gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 630s Setting up libasan8:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up libtsan2:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up libisl23:ppc64el (0.27-1) ... 630s Setting up libcc1-0:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up liblsan0:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up libitm1:ppc64el (15-20250404-0ubuntu1) ... 630s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 630s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 630s Setting up girepository-tools:ppc64el (2.84.1-1) ... 630s Setting up libpcre2-dev:ppc64el (10.45-1) ... 630s Setting up libselinux1-dev:ppc64el (3.8.1-1) ... 630s Setting up pkgconf:ppc64el (1.8.1-4) ... 630s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 630s Setting up cpp-14 (14.2.0-19ubuntu2) ... 630s Setting up libgcc-14-dev:ppc64el (14.2.0-19ubuntu2) ... 630s Setting up libstdc++-14-dev:ppc64el (14.2.0-19ubuntu2) ... 630s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 630s Setting up cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 630s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 630s Setting up libglib2.0-dev-bin (2.84.1-1) ... 630s Setting up libgio-2.0-dev:ppc64el (2.84.1-1) ... 630s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-19ubuntu2) ... 630s Setting up gcc-14 (14.2.0-19ubuntu2) ... 630s Setting up gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 630s Setting up cpp (4:14.2.0-1ubuntu1) ... 630s Setting up g++-14 (14.2.0-19ubuntu2) ... 630s Setting up g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ... 630s Setting up gcc (4:14.2.0-1ubuntu1) ... 630s Setting up g++ (4:14.2.0-1ubuntu1) ... 630s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 630s Setting up build-essential (12.12ubuntu1) ... 630s Processing triggers for install-info (7.1.1-1) ... 630s Processing triggers for libc-bin (2.41-6ubuntu1) ... 630s Processing triggers for man-db (2.13.1-1) ... 631s Processing triggers for libglib2.0-0t64:ppc64el (2.84.1-1) ... 631s No schema files found: doing nothing. 631s Setting up libglib2.0-dev:ppc64el (2.84.1-1) ... 636s autopkgtest [00:58:45]: test libglib2.0-dev: [----------------------- 636s + debian/tests/build 636s + mode=dynamic 636s + getopt -o --long static -n debian/tests/build -- 636s + getopt_temp= -- 636s + eval set -- -- 636s + set -- -- 636s + true 636s + shift 636s + break 636s + mktemp -d 636s + WORKDIR=/tmp/tmp.9XpQcIW9oD 636s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 636s + cd /tmp/tmp.9XpQcIW9oD 636s + [ -n ] 636s + CROSS_COMPILE= 636s + cat 636s + cat 636s + cat 636s + cat 636s + cat 636s + cat 636s + cflags= 636s + pcflags= 636s + packages=glib-2.0 636s + pkg-config --cflags --libs glib-2.0 636s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 636s build (glib, dynamic): OK 636s + echo build (glib, dynamic): OK 636s + [ -x glib-dynamic ] 636s + foo=bar ./glib-dynamic 636s + echo run (glib, dynamic): OK 636s + cflags= 636s + run (glib, dynamic): OK 636s pcflags= 636s + packages=gobject-2.0 636s + pkg-config --cflags --libs gobject-2.0 636s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 636s build (gobject, dynamic): OK 636s + echo build (gobject, dynamic): OK 636s + [ -x gobject-dynamic ] 636s + foo=bar ./gobject-dynamic 636s run (gobject, dynamic): OK 636s + echo run (gobject, dynamic): OK 636s + cflags= 636s + pcflags= 636s + packages=gio-2.0 636s + pkg-config --cflags --libs gio-2.0 636s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 636s build (gio, dynamic): OK 636s + echo build (gio, dynamic): OK 636s + [ -x gio-dynamic ] 636s + foo=bar ./gio-dynamic 636s run (gio, dynamic): OK 636s + echo run (gio, dynamic): OK 636s + cflags= 636s + pcflags= 636s + packages=gio-unix-2.0 636s + pkg-config --cflags --libs gio-unix-2.0 636s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 636s build (gio-unix, dynamic): OK 636s + echo build (gio-unix, dynamic): OK 636s + [ -x gio-unix-dynamic ] 636s + foo=bar ./gio-unix-dynamic 636s + echo run (gio-unix, dynamic): OK 636s run (gio-unix, dynamic): OK 636s + cflags= 636s + pcflags= 636s + packages=gmodule-2.0 636s + pkg-config --cflags --libs gmodule-2.0 636s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 637s build (gmodule, dynamic): OK 637s + echo build (gmodule, dynamic): OK 637s + [ -x gmodule-dynamic ] 637s + foo=bar ./gmodule-dynamic 637s + echo run (gmodule, dynamic): OK 637s run (gmodule, dynamic): OK 637s + cflags= 637s + pcflags= 637s + packages=gthread-2.0 637s + pkg-config --cflags --libs gthread-2.0 637s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 637s build (gthread, dynamic): OK 637s run (gthread, dynamic): OK 637s + echo build (gthread, dynamic): OK 637s + [ -x gthread-dynamic ] 637s + foo=bar ./gthread-dynamic 637s + echo run (gthread, dynamic): OK 637s + rm -rf /tmp/tmp.9XpQcIW9oD 637s + debian/tests/build-static 637s + mode=dynamic 637s + getopt -o --long static -n debian/tests/build -- --static 637s + getopt_temp= --static -- 637s + eval set -- --static -- 637s + set -- --static -- 637s + true 637s + mode=static 637s + shift 637s + continue 637s + true 637s + shift 637s + break 637s + mktemp -d 637s + WORKDIR=/tmp/tmp.fmRtipp8eK 637s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 637s + cd /tmp/tmp.fmRtipp8eK 637s + [ -n ] 637s + CROSS_COMPILE= 637s + cat 637s + cat 637s + cat 637s + cat 637s + cat 637s + cat 637s + cflags= 637s + pcflags= 637s + packages=glib-2.0 637s + cflags=-static 637s + pcflags=--static 637s + pkg-config --static --cflags --libs glib-2.0 637s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 637s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 637s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s build (glib, static): OK 637s + echo build (glib, static): OK 637s + [ -x glib-static ] 637s + foo=bar ./glib-static 637s + echo run (glib, static): OK 637s + cflags= 637s + pcflags= 637s + packages=gobject-2.0 637s + cflags=-static 637s + pcflags=--static 637s run (glib, static): OK 637s + pkg-config --static --cflags --libs gobject-2.0 637s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 637s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 637s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s build (gobject, static): OK 637s + echo build (gobject, static): OK 637s + [ -x gobject-static ] 637s + foo=bar ./gobject-static 637s run (gobject, static): OK 637s + echo run (gobject, static): OK 637s + cflags= 637s + pcflags= 637s + packages=gio-2.0 637s + cflags=-static 637s + pcflags=--static 637s + continue 637s + cflags= 637s + pcflags= 637s + packages=gio-unix-2.0 637s + cflags=-static 637s + pcflags=--static 637s + continue 637s + cflags= 637s + pcflags= 637s + packages=gmodule-2.0 637s + cflags=-static 637s + pcflags=--static 637s + pkg-config --static --cflags --libs gmodule-2.0 637s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 637s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 637s (.text+0x904): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 637s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s build (gmodule, static): OK 637s run (gmodule, static): OK 637s + echo build (gmodule, static): OK 637s + [ -x gmodule-static ] 637s + foo=bar ./gmodule-static 637s + echo run (gmodule, static): OK 637s + cflags= 637s + pcflags= 637s + packages=gthread-2.0 637s + cflags=-static 637s + pcflags=--static 637s + pkg-config --static --cflags --libs gthread-2.0 637s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 637s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 637s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 637s build (gthread, static): OK 637s + echo build (gthread, static): OK 637s + [ -x gthread-static ] 637s + foo=bar ./gthread-static 637s + echo run (gthread, static): OK 637s + rm -rf /tmp/tmp.fmRtipp8eK 637s run (gthread, static): OK 637s + debian/tests/girepository-tools 637s + cd /tmp/autopkgtest.ocWzCN/autopkgtest_tmp 637s + dpkg-architecture -qDEB_HOST_GNU_TYPE 637s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 637s + dpkg-architecture -qDEB_HOST_MULTIARCH 637s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 637s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 637s typelib: GLib-2.0 637s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 638s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 638s + debian/tests/libgio-2.0-dev-bin 638s + gdbus-codegen --help 638s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 638s [--c-namespace NAMESPACE] [--c-generate-object-manager] 638s [--c-generate-autocleanup {none,objects,all}] 638s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 638s [--generate-rst OUTFILES] [--pragma-once] 638s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 638s [--glib-min-required VERSION] 638s [--glib-max-allowed VERSION] 638s [--symbol-decorator SYMBOL_DECORATOR] 638s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 638s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 638s [--generate-c-code OUTFILES | --header | --body | 638s --interface-info-header | --interface-info-body] 638s [--output FILE | --output-directory OUTDIR] 638s FILE [FILE ...] 638s 638s D-Bus code and documentation generator 638s 638s positional arguments: 638s FILE D-Bus introspection XML file 638s 638s options: 638s -h, --help show this help message and exit 638s --interface-prefix PREFIX 638s String to strip from D-Bus interface names for code 638s and docs 638s --c-namespace NAMESPACE 638s The namespace to use for generated C code 638s --c-generate-object-manager 638s Generate a GDBusObjectManagerClient subclass when 638s generating C code 638s --c-generate-autocleanup {none,objects,all} 638s Generate autocleanup support 638s --generate-docbook OUTFILES 638s Generate Docbook in OUTFILES-org.Project.IFace.xml 638s --generate-md OUTFILES 638s Generate Markdown in OUTFILES-org.Project.IFace.md 638s --generate-rst OUTFILES 638s Generate reStructuredText in OUTFILES- 638s org.Project.IFace.rst 638s --pragma-once Use "pragma once" as the inclusion guard 638s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 638s Add annotation (may be used several times) 638s --glib-min-required VERSION 638s Minimum version of GLib to be supported by the 638s outputted code (default: 2.30) 638s --glib-max-allowed VERSION 638s Maximum version of GLib to be used by the outputted 638s code (default: current GLib version) 638s --symbol-decorator SYMBOL_DECORATOR 638s Macro used to decorate a symbol in the outputted 638s header, possibly to export symbols 638s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 638s Additional header required for decorator specified by 638s --symbol-decorator 638s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 638s Additional define required for decorator specified by 638s --symbol-decorator 638s --generate-c-code OUTFILES 638s Generate C code in OUTFILES.[ch] 638s --header Generate C headers 638s --body Generate C code 638s --interface-info-header 638s Generate GDBusInterfaceInfo C header 638s --interface-info-body 638s Generate GDBusInterfaceInfo C code 638s --output FILE Write output into the specified file 638s --output-directory OUTDIR 638s Location to output generated files 638s + glib-compile-resources --version 638s 2.84.1 638s + glib-genmarshal --version 638s glib-genmarshal version 2.84.1 638s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 638s You may redistribute copies of glib-genmarshal under the terms of 638s the GNU General Public License which can be found in the 638s GLib source package. Sources, examples and contact 638s information are available at http://www.gtk.org 638s + glib-gettextize --version 638s /usr/bin/glib-gettextize (GNU glib) 2.84.1 638s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 638s This is free software; see the source for copying conditions. There is NO 638s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 638s Written by Ulrich Drepper 638s + glib-mkenums --version 638s glib-mkenums version 2.84.1 638s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 638s You may redistribute copies of glib-mkenums under the terms of 638s the GNU General Public License which can be found in the 638s GLib source package. Sources, examples and contact 638s information are available at http://www.gtk.org 638s + gobject-query tree 638s GObject 638s + gtester --version 638s gtester version 2.84.1 638s + gtester-report --version 638s gtester-report (GLib utils) version 2.84.1. 638s + cd /tmp/autopkgtest.ocWzCN/autopkgtest_tmp 638s + dpkg-architecture -qDEB_HOST_MULTIARCH 638s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 638s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 638s typelib: GLib-2.0 638s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 638s + gi-decompile-typelib -o GLib.gir GLib.typelib 638s autopkgtest [00:58:47]: test libglib2.0-dev: -----------------------] 639s autopkgtest [00:58:48]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 639s libglib2.0-dev PASS (superficial) 639s autopkgtest [00:58:48]: test installed-tests: preparing testbed 729s autopkgtest [01:00:18]: testbed dpkg architecture: ppc64el 729s autopkgtest [01:00:18]: testbed apt version: 3.0.0 729s autopkgtest [01:00:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 729s autopkgtest [01:00:18]: testbed release detected to be: questing 730s autopkgtest [01:00:19]: updating testbed package index (apt update) 730s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 731s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 731s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 731s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 731s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1031 kB] 731s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [98.1 kB] 731s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [31.7 kB] 731s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [133 kB] 731s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [975 kB] 731s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [18.6 kB] 731s Fetched 2397 kB in 1s (2123 kB/s) 732s Reading package lists... 733s autopkgtest [01:00:22]: upgrading testbed (apt dist-upgrade and autopurge) 733s Reading package lists... 733s Building dependency tree... 733s Reading state information... 733s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 733s Starting 2 pkgProblemResolver with broken count: 0 733s Done 734s Entering ResolveByKeep 734s 734s Calculating upgrade... 734s The following packages will be upgraded: 734s base-passwd btrfs-progs ethtool hwdata less libbpf1 libdebuginfod-common 734s libdebuginfod1t64 libdw1t64 libelf1t64 libevdev2 libmm-glib0 libnghttp2-14 734s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libselinux1 734s libunistring5 libusb-1.0-0 man-db netcat-openbsd patch pnp.ids publicsuffix 734s tzdata usbutils 734s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 734s Need to get 11.3 MB of archives. 734s After this operation, 145 kB of additional disk space will be used. 734s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1 ppc64el 3.8.1-1 [110 kB] 735s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el base-passwd ppc64el 3.6.7 [55.8 kB] 735s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod-common all 0.193-1 [15.6 kB] 735s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el less ppc64el 668-1 [206 kB] 735s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod1t64 ppc64el 0.193-1 [24.1 kB] 735s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdw1t64 ppc64el 0.193-1 [318 kB] 735s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libelf1t64 ppc64el 0.193-1 [67.9 kB] 735s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libbpf1 ppc64el 1:1.5.0-3 [231 kB] 735s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libunistring5 ppc64el 1.3-2 [627 kB] 735s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el netcat-openbsd ppc64el 1.229-1 [45.5 kB] 735s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata all 2025b-3ubuntu1 [198 kB] 735s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ethtool ppc64el 1:6.14-2 [294 kB] 735s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libevdev2 ppc64el 1.13.4+dfsg-1 [38.0 kB] 735s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libnghttp2-14 ppc64el 1.64.0-1.1 [89.7 kB] 735s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libusb-1.0-0 ppc64el 2:1.0.28-1 [64.4 kB] 735s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el man-db ppc64el 2.13.1-1 [1409 kB] 736s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el publicsuffix all 20250328.1952-0.1 [135 kB] 736s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el usbutils ppc64el 1:018-2 [90.0 kB] 736s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el btrfs-progs ppc64el 6.14-1 [1373 kB] 736s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el hwdata all 0.394-1 [1564 B] 736s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el pnp.ids all 0.394-1 [29.5 kB] 736s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libmm-glib0 ppc64el 1.24.0-1 [290 kB] 736s Get:23 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 736s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 736s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 736s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el patch ppc64el 2.8-1 [110 kB] 737s Preconfiguring packages ... 737s Fetched 11.3 MB in 2s (5041 kB/s) 737s (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 ... 107204 files and directories currently installed.) 737s Preparing to unpack .../libselinux1_3.8.1-1_ppc64el.deb ... 737s Unpacking libselinux1:ppc64el (3.8.1-1) over (3.7-3ubuntu3) ... 737s Setting up libselinux1:ppc64el (3.8.1-1) ... 737s (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 ... 107204 files and directories currently installed.) 737s Preparing to unpack .../base-passwd_3.6.7_ppc64el.deb ... 737s Unpacking base-passwd (3.6.7) over (3.6.6) ... 737s Setting up base-passwd (3.6.7) ... 737s (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 ... 107204 files and directories currently installed.) 737s Preparing to unpack .../00-libdebuginfod-common_0.193-1_all.deb ... 737s Unpacking libdebuginfod-common (0.193-1) over (0.192-4ubuntu1) ... 737s Preparing to unpack .../01-less_668-1_ppc64el.deb ... 737s Unpacking less (668-1) over (643-1) ... 737s Preparing to unpack .../02-libdebuginfod1t64_0.193-1_ppc64el.deb ... 737s Unpacking libdebuginfod1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 737s Preparing to unpack .../03-libdw1t64_0.193-1_ppc64el.deb ... 737s Unpacking libdw1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 738s Preparing to unpack .../04-libelf1t64_0.193-1_ppc64el.deb ... 738s Unpacking libelf1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 738s Preparing to unpack .../05-libbpf1_1%3a1.5.0-3_ppc64el.deb ... 738s Unpacking libbpf1:ppc64el (1:1.5.0-3) over (1:1.5.0-2) ... 738s Preparing to unpack .../06-libunistring5_1.3-2_ppc64el.deb ... 738s Unpacking libunistring5:ppc64el (1.3-2) over (1.3-1) ... 738s Preparing to unpack .../07-netcat-openbsd_1.229-1_ppc64el.deb ... 738s Unpacking netcat-openbsd (1.229-1) over (1.228-1) ... 738s Preparing to unpack .../08-tzdata_2025b-3ubuntu1_all.deb ... 738s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 738s Preparing to unpack .../09-ethtool_1%3a6.14-2_ppc64el.deb ... 738s Unpacking ethtool (1:6.14-2) over (1:6.11-1) ... 738s Preparing to unpack .../10-libevdev2_1.13.4+dfsg-1_ppc64el.deb ... 738s Unpacking libevdev2:ppc64el (1.13.4+dfsg-1) over (1.13.3+dfsg-1) ... 738s Preparing to unpack .../11-libnghttp2-14_1.64.0-1.1_ppc64el.deb ... 738s Unpacking libnghttp2-14:ppc64el (1.64.0-1.1) over (1.64.0-1ubuntu1) ... 738s Preparing to unpack .../12-libusb-1.0-0_2%3a1.0.28-1_ppc64el.deb ... 738s Unpacking libusb-1.0-0:ppc64el (2:1.0.28-1) over (2:1.0.27-2) ... 738s Preparing to unpack .../13-man-db_2.13.1-1_ppc64el.deb ... 738s Unpacking man-db (2.13.1-1) over (2.13.0-1) ... 738s Preparing to unpack .../14-publicsuffix_20250328.1952-0.1_all.deb ... 738s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 738s Preparing to unpack .../15-usbutils_1%3a018-2_ppc64el.deb ... 738s Unpacking usbutils (1:018-2) over (1:018-1) ... 738s Preparing to unpack .../16-btrfs-progs_6.14-1_ppc64el.deb ... 738s Unpacking btrfs-progs (6.14-1) over (6.12-1build1) ... 738s Preparing to unpack .../17-hwdata_0.394-1_all.deb ... 738s Unpacking hwdata (0.394-1) over (0.393-3) ... 738s Preparing to unpack .../18-pnp.ids_0.394-1_all.deb ... 738s Unpacking pnp.ids (0.394-1) over (0.393-3) ... 738s Preparing to unpack .../19-libmm-glib0_1.24.0-1_ppc64el.deb ... 738s Unpacking libmm-glib0:ppc64el (1.24.0-1) over (1.23.4-0ubuntu3) ... 738s Preparing to unpack .../20-libpython3.12t64_3.12.10-1_ppc64el.deb ... 738s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 738s Preparing to unpack .../21-libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 738s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 738s Preparing to unpack .../22-libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 738s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 739s Preparing to unpack .../23-patch_2.8-1_ppc64el.deb ... 739s Unpacking patch (2.8-1) over (2.7.6-7build3) ... 739s Setting up libdebuginfod-common (0.193-1) ... 739s Setting up btrfs-progs (6.14-1) ... 739s Setting up netcat-openbsd (1.229-1) ... 739s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 739s Setting up libnghttp2-14:ppc64el (1.64.0-1.1) ... 739s Setting up less (668-1) ... 739s Setting up man-db (2.13.1-1) ... 739s Updating database of manual pages ... 742s man-db.service is a disabled or a static unit not running, not starting it. 742s Setting up libelf1t64:ppc64el (0.193-1) ... 742s Setting up libdw1t64:ppc64el (0.193-1) ... 742s Setting up tzdata (2025b-3ubuntu1) ... 742s 742s Current default time zone: 'Etc/UTC' 742s Local time is now: Mon May 5 01:00:31 UTC 2025. 742s Universal Time is now: Mon May 5 01:00:31 UTC 2025. 742s Run 'dpkg-reconfigure tzdata' if you wish to change it. 742s 742s Setting up libunistring5:ppc64el (1.3-2) ... 742s Setting up patch (2.8-1) ... 742s Setting up libmm-glib0:ppc64el (1.24.0-1) ... 742s Setting up pnp.ids (0.394-1) ... 742s Setting up libusb-1.0-0:ppc64el (2:1.0.28-1) ... 742s Setting up libevdev2:ppc64el (1.13.4+dfsg-1) ... 742s Setting up publicsuffix (20250328.1952-0.1) ... 742s Setting up libbpf1:ppc64el (1:1.5.0-3) ... 742s Setting up ethtool (1:6.14-2) ... 742s Setting up libdebuginfod1t64:ppc64el (0.193-1) ... 742s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 742s Setting up usbutils (1:018-2) ... 742s Setting up hwdata (0.394-1) ... 742s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 742s Processing triggers for libc-bin (2.41-6ubuntu1) ... 742s Processing triggers for initramfs-tools (0.147ubuntu1) ... 742s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 742s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 751s Reading package lists... 752s Building dependency tree... 752s Reading state information... 752s Starting pkgProblemResolver with broken count: 0 752s Starting 2 pkgProblemResolver with broken count: 0 752s Done 752s Solving dependencies... 752s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 752s autopkgtest [01:00:41]: rebooting testbed after setup commands that affected boot 787s Reading package lists... 787s Building dependency tree... 787s Reading state information... 787s Starting pkgProblemResolver with broken count: 0 787s Starting 2 pkgProblemResolver with broken count: 0 787s Done 788s The following NEW packages will be installed: 788s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 788s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin 788s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 788s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 788s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 788s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 788s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 788s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 788s native-architecture python3-dbusmock python3-packaging tzdata-legacy 788s x11-common x11-xkb-utils xserver-common xvfb 788s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 788s Need to get 16.8 MB of archives. 788s After this operation, 101 MB of additional disk space will be used. 788s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu1 [24.3 kB] 788s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 788s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.84.1-1 [862 kB] 788s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el native-architecture all 0.2.6 [2140 B] 788s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el libgirepository-2.0-0 ppc64el 2.84.1-1 [85.0 kB] 788s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el girepository-tools ppc64el 2.84.1-1 [133 kB] 788s Get:7 http://ftpmaster.internal/ubuntu questing/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 788s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 788s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libwayland-server0 ppc64el 1.23.1-3 [42.4 kB] 788s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B] 788s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 788s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 788s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 789s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 789s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 789s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el libxshmfence1 ppc64el 1.3.3-1 [5364 B] 789s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el mesa-libgallium ppc64el 25.0.3-1ubuntu2 [9535 kB] 790s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el libgbm1 ppc64el 25.0.3-1ubuntu2 [39.1 kB] 790s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 790s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev-bin ppc64el 2.84.1-1 [131 kB] 790s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el libvulkan1 ppc64el 1.4.309.0-1 [162 kB] 790s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libgl1-mesa-dri ppc64el 25.0.3-1ubuntu2 [35.1 kB] 790s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-bin ppc64el 2.84.1-1 [111 kB] 790s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-dev-bin ppc64el 2.84.1-1 [18.1 kB] 790s Get:25 http://ftpmaster.internal/ubuntu questing/universe ppc64el python3-dbusmock all 0.34.3-1 [92.4 kB] 790s Get:26 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 790s Get:27 http://ftpmaster.internal/ubuntu questing/universe ppc64el libglib2.0-tests ppc64el 2.84.1-1 [2271 kB] 790s Get:28 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 790s Get:29 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 790s Get:30 http://ftpmaster.internal/ubuntu questing/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 790s Get:31 http://ftpmaster.internal/ubuntu questing/main ppc64el libglx-mesa0 ppc64el 25.0.3-1ubuntu2 [175 kB] 790s Get:32 http://ftpmaster.internal/ubuntu questing/main ppc64el x11-common all 1:7.7+23ubuntu4 [21.8 kB] 790s Get:33 http://ftpmaster.internal/ubuntu questing/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 790s Get:34 http://ftpmaster.internal/ubuntu questing/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 790s Get:35 http://ftpmaster.internal/ubuntu questing/main ppc64el libsm6 ppc64el 2:1.2.6-1 [18.6 kB] 790s Get:36 http://ftpmaster.internal/ubuntu questing/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 790s Get:37 http://ftpmaster.internal/ubuntu questing/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 790s Get:38 http://ftpmaster.internal/ubuntu questing/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 790s Get:39 http://ftpmaster.internal/ubuntu questing/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 790s Get:40 http://ftpmaster.internal/ubuntu questing/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 790s Get:41 http://ftpmaster.internal/ubuntu questing/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 790s Get:42 http://ftpmaster.internal/ubuntu questing/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 790s Get:43 http://ftpmaster.internal/ubuntu questing/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 790s Get:44 http://ftpmaster.internal/ubuntu questing/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 790s Get:45 http://ftpmaster.internal/ubuntu questing/main ppc64el xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB] 790s Get:46 http://ftpmaster.internal/ubuntu questing/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 790s Get:47 http://ftpmaster.internal/ubuntu questing/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 790s Get:48 http://ftpmaster.internal/ubuntu questing/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 790s Get:49 http://ftpmaster.internal/ubuntu questing/universe ppc64el xvfb ppc64el 2:21.1.16-1ubuntu1 [1101 kB] 790s Fetched 16.8 MB in 2s (7423 kB/s) 790s Selecting previously unselected package dbus-x11. 791s (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 ... 107214 files and directories currently installed.) 791s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_ppc64el.deb ... 791s Unpacking dbus-x11 (1.16.2-2ubuntu1) ... 791s Selecting previously unselected package desktop-file-utils. 791s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 791s Unpacking desktop-file-utils (0.28-1) ... 791s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 791s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_ppc64el.deb ... 791s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 791s Selecting previously unselected package native-architecture. 791s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 791s Unpacking native-architecture (0.2.6) ... 791s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 791s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_ppc64el.deb ... 791s Unpacking libgirepository-2.0-0:ppc64el (2.84.1-1) ... 791s Selecting previously unselected package girepository-tools:ppc64el. 791s Preparing to unpack .../05-girepository-tools_2.84.1-1_ppc64el.deb ... 791s Unpacking girepository-tools:ppc64el (2.84.1-1) ... 791s Selecting previously unselected package gnome-desktop-testing. 791s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 791s Unpacking gnome-desktop-testing (2021.1-4) ... 791s Selecting previously unselected package libfontenc1:ppc64el. 791s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 791s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 791s Selecting previously unselected package libwayland-server0:ppc64el. 791s Preparing to unpack .../08-libwayland-server0_1.23.1-3_ppc64el.deb ... 791s Unpacking libwayland-server0:ppc64el (1.23.1-3) ... 791s Selecting previously unselected package libx11-xcb1:ppc64el. 791s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ... 791s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ... 791s Selecting previously unselected package libxcb-dri3-0:ppc64el. 791s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 791s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 791s Selecting previously unselected package libxcb-present0:ppc64el. 791s Preparing to unpack .../11-libxcb-present0_1.17.0-2_ppc64el.deb ... 791s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 791s Selecting previously unselected package libxcb-randr0:ppc64el. 791s Preparing to unpack .../12-libxcb-randr0_1.17.0-2_ppc64el.deb ... 791s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 791s Selecting previously unselected package libxcb-sync1:ppc64el. 791s Preparing to unpack .../13-libxcb-sync1_1.17.0-2_ppc64el.deb ... 791s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 791s Selecting previously unselected package libxcb-xfixes0:ppc64el. 791s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 791s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 791s Selecting previously unselected package libxshmfence1:ppc64el. 791s Preparing to unpack .../15-libxshmfence1_1.3.3-1_ppc64el.deb ... 791s Unpacking libxshmfence1:ppc64el (1.3.3-1) ... 791s Selecting previously unselected package mesa-libgallium:ppc64el. 791s Preparing to unpack .../16-mesa-libgallium_25.0.3-1ubuntu2_ppc64el.deb ... 791s Unpacking mesa-libgallium:ppc64el (25.0.3-1ubuntu2) ... 791s Selecting previously unselected package libgbm1:ppc64el. 791s Preparing to unpack .../17-libgbm1_25.0.3-1ubuntu2_ppc64el.deb ... 791s Unpacking libgbm1:ppc64el (25.0.3-1ubuntu2) ... 791s Selecting previously unselected package python3-packaging. 791s Preparing to unpack .../18-python3-packaging_24.2-1_all.deb ... 791s Unpacking python3-packaging (24.2-1) ... 791s Selecting previously unselected package libgio-2.0-dev-bin. 791s Preparing to unpack .../19-libgio-2.0-dev-bin_2.84.1-1_ppc64el.deb ... 791s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 791s Selecting previously unselected package libvulkan1:ppc64el. 791s Preparing to unpack .../20-libvulkan1_1.4.309.0-1_ppc64el.deb ... 791s Unpacking libvulkan1:ppc64el (1.4.309.0-1) ... 791s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 791s Preparing to unpack .../21-libgl1-mesa-dri_25.0.3-1ubuntu2_ppc64el.deb ... 791s Unpacking libgl1-mesa-dri:ppc64el (25.0.3-1ubuntu2) ... 791s Selecting previously unselected package libglib2.0-bin. 791s Preparing to unpack .../22-libglib2.0-bin_2.84.1-1_ppc64el.deb ... 791s Unpacking libglib2.0-bin (2.84.1-1) ... 791s Selecting previously unselected package libglib2.0-dev-bin. 791s Preparing to unpack .../23-libglib2.0-dev-bin_2.84.1-1_ppc64el.deb ... 791s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 791s Selecting previously unselected package python3-dbusmock. 791s Preparing to unpack .../24-python3-dbusmock_0.34.3-1_all.deb ... 791s Unpacking python3-dbusmock (0.34.3-1) ... 791s Selecting previously unselected package tzdata-legacy. 791s Preparing to unpack .../25-tzdata-legacy_2025b-3ubuntu1_all.deb ... 791s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 791s Selecting previously unselected package libglib2.0-tests. 791s Preparing to unpack .../26-libglib2.0-tests_2.84.1-1_ppc64el.deb ... 791s Unpacking libglib2.0-tests (2.84.1-1) ... 792s Selecting previously unselected package libxcb-glx0:ppc64el. 792s Preparing to unpack .../27-libxcb-glx0_1.17.0-2_ppc64el.deb ... 792s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 792s Selecting previously unselected package libxcb-shm0:ppc64el. 792s Preparing to unpack .../28-libxcb-shm0_1.17.0-2_ppc64el.deb ... 792s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 792s Selecting previously unselected package libxxf86vm1:ppc64el. 792s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 792s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 792s Selecting previously unselected package libglx-mesa0:ppc64el. 792s Preparing to unpack .../30-libglx-mesa0_25.0.3-1ubuntu2_ppc64el.deb ... 792s Unpacking libglx-mesa0:ppc64el (25.0.3-1ubuntu2) ... 792s Selecting previously unselected package x11-common. 792s Preparing to unpack .../31-x11-common_1%3a7.7+23ubuntu4_all.deb ... 792s Unpacking x11-common (1:7.7+23ubuntu4) ... 792s Selecting previously unselected package libice6:ppc64el. 792s Preparing to unpack .../32-libice6_2%3a1.1.1-1_ppc64el.deb ... 792s Unpacking libice6:ppc64el (2:1.1.1-1) ... 792s Selecting previously unselected package libpixman-1-0:ppc64el. 792s Preparing to unpack .../33-libpixman-1-0_0.44.0-3_ppc64el.deb ... 792s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 792s Selecting previously unselected package libsm6:ppc64el. 792s Preparing to unpack .../34-libsm6_2%3a1.2.6-1_ppc64el.deb ... 792s Unpacking libsm6:ppc64el (2:1.2.6-1) ... 792s Selecting previously unselected package libxt6t64:ppc64el. 792s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 792s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 792s Selecting previously unselected package libxmu6:ppc64el. 792s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 792s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 792s Selecting previously unselected package libxpm4:ppc64el. 792s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 792s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 792s Selecting previously unselected package libxaw7:ppc64el. 792s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 792s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 792s Selecting previously unselected package libxfont2:ppc64el. 792s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 792s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 792s Selecting previously unselected package libxkbfile1:ppc64el. 792s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 792s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 792s Selecting previously unselected package libxrender1:ppc64el. 792s Preparing to unpack .../41-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 792s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 792s Selecting previously unselected package libxrandr2:ppc64el. 792s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 792s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 792s Selecting previously unselected package x11-xkb-utils. 792s Preparing to unpack .../43-x11-xkb-utils_7.7+9_ppc64el.deb ... 792s Unpacking x11-xkb-utils (7.7+9) ... 792s Selecting previously unselected package xserver-common. 792s Preparing to unpack .../44-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ... 792s Unpacking xserver-common (2:21.1.16-1ubuntu1) ... 792s Selecting previously unselected package libglvnd0:ppc64el. 792s Preparing to unpack .../45-libglvnd0_1.7.0-1build1_ppc64el.deb ... 792s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 792s Selecting previously unselected package libglx0:ppc64el. 792s Preparing to unpack .../46-libglx0_1.7.0-1build1_ppc64el.deb ... 792s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 792s Selecting previously unselected package libgl1:ppc64el. 792s Preparing to unpack .../47-libgl1_1.7.0-1build1_ppc64el.deb ... 792s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 792s Selecting previously unselected package xvfb. 792s Preparing to unpack .../48-xvfb_2%3a21.1.16-1ubuntu1_ppc64el.deb ... 792s Unpacking xvfb (2:21.1.16-1ubuntu1) ... 792s Setting up gnome-desktop-testing (2021.1-4) ... 792s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 792s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 792s Setting up libwayland-server0:ppc64el (1.23.1-3) ... 792s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ... 792s Setting up native-architecture (0.2.6) ... 792s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 792s Setting up desktop-file-utils (0.28-1) ... 792s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 792s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 792s Setting up libgirepository-2.0-0:ppc64el (2.84.1-1) ... 792s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 792s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 792s Setting up x11-common (1:7.7+23ubuntu4) ... 792s Setting up libglib2.0-bin (2.84.1-1) ... 792s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 792s Setting up python3-dbusmock (0.34.3-1) ... 793s Setting up tzdata-legacy (2025b-3ubuntu1) ... 793s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 793s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 793s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 793s Setting up python3-packaging (24.2-1) ... 793s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 793s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 793s Setting up libvulkan1:ppc64el (1.4.309.0-1) ... 793s Setting up gir1.2-glib-2.0-dev:ppc64el (2.84.1-1) ... 793s Setting up libxshmfence1:ppc64el (1.3.3-1) ... 793s Setting up dbus-x11 (1.16.2-2ubuntu1) ... 793s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 793s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 793s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 793s Setting up libice6:ppc64el (2:1.1.1-1) ... 793s Setting up mesa-libgallium:ppc64el (25.0.3-1ubuntu2) ... 793s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 793s Setting up girepository-tools:ppc64el (2.84.1-1) ... 793s Setting up libgbm1:ppc64el (25.0.3-1ubuntu2) ... 793s Setting up libgl1-mesa-dri:ppc64el (25.0.3-1ubuntu2) ... 793s Setting up libsm6:ppc64el (2:1.2.6-1) ... 793s Setting up libglib2.0-dev-bin (2.84.1-1) ... 793s Setting up libglx-mesa0:ppc64el (25.0.3-1ubuntu2) ... 793s Setting up libglx0:ppc64el (1.7.0-1build1) ... 793s Setting up libgl1:ppc64el (1.7.0-1build1) ... 793s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 793s Setting up libglib2.0-tests (2.84.1-1) ... 793s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 793s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 793s Setting up x11-xkb-utils (7.7+9) ... 793s Setting up xserver-common (2:21.1.16-1ubuntu1) ... 793s Setting up xvfb (2:21.1.16-1ubuntu1) ... 793s Processing triggers for man-db (2.13.1-1) ... 794s Processing triggers for libc-bin (2.41-6ubuntu1) ... 799s autopkgtest [01:01:28]: test installed-tests: [----------------------- 799s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 799s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 799s group entry: ubuntu:x:1000: 799s Environment: 799s ADTTMP=/tmp/autopkgtest.ocWzCN/autopkgtest_tmp 799s ADT_ARTIFACTS=/tmp/autopkgtest.ocWzCN/installed-tests-artifacts 799s ADT_TEST_TRIGGERS=libselinux/3.8.1-1 tzdata/2025b-3ubuntu1 libsepol/3.8.1-1 elfutils/0.193-1 799s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.ocWzCN/installed-tests-artifacts 799s AUTOPKGTEST_TESTBED_ARCH=ppc64el 799s AUTOPKGTEST_TEST_ARCH=ppc64el 799s AUTOPKGTEST_TMP=/tmp/autopkgtest.ocWzCN/autopkgtest_tmp 799s DEBIAN_FRONTEND=noninteractive 799s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 799s DEB_BUILD_OPTIONS=parallel=2 799s GIO_USE_VFS=local 799s GIO_USE_VOLUME_MONITOR=unix 799s HOME=/home/ubuntu 799s LANG=C.UTF-8 799s LOGNAME=ubuntu 799s MAIL=/var/mail/ubuntu 799s OLDPWD=/home/ubuntu 799s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 799s PWD=/tmp/autopkgtest.ocWzCN/build.xwz/src 799s SHELL=/bin/bash 799s SHLVL=1 799s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.ocWzCN/wrapper.sh --artifacts=/tmp/autopkgtest.ocWzCN/installed-tests-artifacts --chdir=/tmp/autopkgtest.ocWzCN/build.xwz/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.ocWzCN/installed-tests-stderr --stdout=/tmp/autopkgtest.ocWzCN/installed-tests-stdout --tmp=/tmp/autopkgtest.ocWzCN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.8.1-1 tzdata/2025b-3ubuntu1 libsepol/3.8.1-1 elfutils/0.193-1' --make-executable=/tmp/autopkgtest.ocWzCN/build.xwz/src/debian/tests/installed-tests -- /tmp/autopkgtest.ocWzCN/build.xwz/src/debian/tests/installed-tests 799s SUDO_GID=1000 799s SUDO_HOME=/home/ubuntu 799s SUDO_UID=1000 799s SUDO_USER=ubuntu 799s TERM=linux 799s USER=ubuntu 799s XDG_RUNTIME_DIR=/tmp/autopkgtest.ocWzCN/autopkgtest_tmp 799s http_proxy=http://squid.internal:3128/ 799s https_proxy=http://squid.internal:3128/ 799s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net 799s run-with-locales: de_DE=ISO-8859-1... 799s Character set: ISO-8859-1 799s Source file: de_DE 799s Output: /tmp/tmp.hRbj4gklST/de_DE 800s run-with-locales: de_DE.utf8... 800s Character set: UTF-8 800s Source file: de_DE 800s Output: /tmp/tmp.hRbj4gklST/de_DE.utf8 801s run-with-locales: de_DE@euro.utf8... 801s Character set: UTF-8 801s Source file: de_DE@euro 801s Output: /tmp/tmp.hRbj4gklST/de_DE@euro.utf8 803s run-with-locales: el_GR.utf8... 803s Character set: UTF-8 803s Source file: el_GR 803s Output: /tmp/tmp.hRbj4gklST/el_GR.utf8 804s run-with-locales: en_GB=ISO-8859-1... 804s Character set: ISO-8859-1 804s Source file: en_GB 804s Output: /tmp/tmp.hRbj4gklST/en_GB 804s run-with-locales: en_GB.utf8... 804s Character set: UTF-8 804s Source file: en_GB 804s Output: /tmp/tmp.hRbj4gklST/en_GB.utf8 806s run-with-locales: en_US=ISO-8859-1... 806s Character set: ISO-8859-1 806s Source file: en_US 806s Output: /tmp/tmp.hRbj4gklST/en_US 806s run-with-locales: en_US.utf8... 806s Character set: UTF-8 806s Source file: en_US 806s Output: /tmp/tmp.hRbj4gklST/en_US.utf8 807s run-with-locales: es_ES.utf8... 807s Character set: UTF-8 807s Source file: es_ES 807s Output: /tmp/tmp.hRbj4gklST/es_ES.utf8 809s run-with-locales: fa_IR=UTF-8... 809s Character set: UTF-8 809s Source file: fa_IR 809s Output: /tmp/tmp.hRbj4gklST/fa_IR 810s run-with-locales: fa_IR.utf8... 810s Character set: UTF-8 810s Source file: fa_IR 810s Output: /tmp/tmp.hRbj4gklST/fa_IR.utf8 812s run-with-locales: fr_FR.utf8... 812s Character set: UTF-8 812s Source file: fr_FR 812s Output: /tmp/tmp.hRbj4gklST/fr_FR.utf8 813s run-with-locales: hr_HR.utf8... 813s Character set: UTF-8 813s Source file: hr_HR 813s Output: /tmp/tmp.hRbj4gklST/hr_HR.utf8 815s run-with-locales: ja_JP.utf8... 815s Character set: UTF-8 815s Source file: ja_JP 815s Output: /tmp/tmp.hRbj4gklST/ja_JP.utf8 815s run-with-locales: ja_JP.EUC-JP... 815s Character set: EUC-JP 815s Source file: ja_JP 815s Output: /tmp/tmp.hRbj4gklST/ja_JP.eucjp 816s run-with-locales: lt_LT.utf8... 816s Character set: UTF-8 816s Source file: lt_LT 816s Output: /tmp/tmp.hRbj4gklST/lt_LT.utf8 817s run-with-locales: pl_PL=ISO-8859-2... 817s Character set: ISO-8859-2 817s Source file: pl_PL 817s Output: /tmp/tmp.hRbj4gklST/pl_PL 817s run-with-locales: pl_PL.ISO-8859-2... 817s Character set: ISO-8859-2 817s Source file: pl_PL 817s Output: /tmp/tmp.hRbj4gklST/pl_PL.iso88592 818s run-with-locales: pl_PL.utf8... 818s Character set: UTF-8 818s Source file: pl_PL 818s Output: /tmp/tmp.hRbj4gklST/pl_PL.utf8 819s run-with-locales: ru_RU=ISO-8859-5... 819s Character set: ISO-8859-5 819s Source file: ru_RU 819s Output: /tmp/tmp.hRbj4gklST/ru_RU 820s run-with-locales: ru_RU.utf8... 820s Character set: UTF-8 820s Source file: ru_RU 820s Output: /tmp/tmp.hRbj4gklST/ru_RU.utf8 821s run-with-locales: sr_RS=UTF-8... 821s Character set: UTF-8 821s Source file: sr_RS 821s Output: /tmp/tmp.hRbj4gklST/sr_RS 822s run-with-locales: sr_RS@latin=UTF-8... 822s Character set: UTF-8 822s Source file: sr_RS@latin 822s Output: /tmp/tmp.hRbj4gklST/sr_RS@latin 824s run-with-locales: sv_SE=ISO-8859-1... 824s Character set: ISO-8859-1 824s Source file: sv_SE 824s Output: /tmp/tmp.hRbj4gklST/sv_SE 824s run-with-locales: sv_SE.utf8... 824s Character set: UTF-8 824s Source file: sv_SE 824s Output: /tmp/tmp.hRbj4gklST/sv_SE.utf8 826s run-with-locales: tr_TR=ISO-8859-9... 826s Character set: ISO-8859-9 826s Source file: tr_TR 826s Output: /tmp/tmp.hRbj4gklST/tr_TR 826s run-with-locales: tr_TR.utf8... 826s Character set: UTF-8 826s Source file: tr_TR 826s Output: /tmp/tmp.hRbj4gklST/tr_TR.utf8 827s run-with-locales: tt_RU=UTF-8... 827s Character set: UTF-8 827s Source file: tt_RU 827s Output: /tmp/tmp.hRbj4gklST/tt_RU 829s run-with-locales: tt_RU.utf8... 829s Character set: UTF-8 829s Source file: tt_RU 829s Output: /tmp/tmp.hRbj4gklST/tt_RU.utf8 830s run-with-locales: tt_RU@iqtelif=UTF-8... 830s Character set: UTF-8 830s Source file: tt_RU@iqtelif 830s Output: /tmp/tmp.hRbj4gklST/tt_RU@iqtelif 831s /tmp/tmp.hRbj4gklST 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/de_DE.utf8 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_US 831s /tmp/tmp.hRbj4gklST/en_US/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/en_US/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/en_US/LC_TIME 831s /tmp/tmp.hRbj4gklST/en_US/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/en_US/LC_PAPER 831s /tmp/tmp.hRbj4gklST/en_US/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/en_US/LC_NAME 831s /tmp/tmp.hRbj4gklST/en_US/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/en_US/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/en_US/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/en_US/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/en_US/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_US/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tt_RU 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_TIME 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_PAPER 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_NAME 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sr_RS@latin 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_TIME 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_PAPER 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_NAME 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tr_TR 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_TIME 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_PAPER 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_NAME 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/pl_PL 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_TIME 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_PAPER 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_NAME 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_US.utf8 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sr_RS 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_TIME 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_PAPER 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_NAME 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ru_RU 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_TIME 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_PAPER 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_NAME 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/es_ES.utf8 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/el_GR.utf8 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_TIME 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_PAPER 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_NAME 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_GB.utf8 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_TIME 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_PAPER 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_NAME 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_TIME 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_PAPER 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_NAME 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/fa_IR 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_TIME 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_PAPER 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_NAME 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_GB 831s /tmp/tmp.hRbj4gklST/en_GB/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/en_GB/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/en_GB/LC_TIME 831s /tmp/tmp.hRbj4gklST/en_GB/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/en_GB/LC_PAPER 831s /tmp/tmp.hRbj4gklST/en_GB/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/en_GB/LC_NAME 831s /tmp/tmp.hRbj4gklST/en_GB/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/en_GB/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/en_GB/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/en_GB/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/en_GB/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sv_SE 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_TIME 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_PAPER 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_NAME 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/de_DE 831s /tmp/tmp.hRbj4gklST/de_DE/LC_TELEPHONE 831s /tmp/tmp.hRbj4gkl1..323 831s # Running test: glib/uri.test 831s ST/de_DE/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/de_DE/LC_TIME 831s /tmp/tmp.hRbj4gklST/de_DE/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/de_DE/LC_PAPER 831s /tmp/tmp.hRbj4gklST/de_DE/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/de_DE/LC_NAME 831s /tmp/tmp.hRbj4gklST/de_DE/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/de_DE/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/de_DE/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/de_DE/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/de_DE/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_TELEPHONE 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_IDENTIFICATION 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_TIME 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_CTYPE 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_PAPER 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_COLLATE 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_NAME 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_ADDRESS 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_NUMERIC 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_MONETARY 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_MEASUREMENT 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_MESSAGES 831s /tmp/tmp.hRbj4gklST/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 831s TAP version 14 831s # random seed: R02S548ae31b55108911c0d7f16d92f828e5 831s 1..24 831s # Start of uri tests 831s ok 1 /uri/file-to-uri 831s ok 2 /uri/file-from-uri 831s ok 3 /uri/file-roundtrip 831s ok 4 /uri/list 831s # Test 0: %2Babc %4F 831s # Test 1: %2Babc %4F 831s # Test 2: %00abc %4F 831s # Test 3: /cursors/none.png 831s # Test 4: /cursors%2fbad-subdir/none.png 831s # Test 5: %0 831s # Test 6: %ra 831s # Test 7: %2r 831s # Test 8: Timm B?der 831s # Test 9: (null) 831s ok 5 /uri/unescape-string 831s ok 6 /uri/unescape-segment 831s # Test 0: abcdefgABCDEFG._~ 831s # Test 1: :+ \\?# 831s # Test 2: a+b:c 831s # Test 3: a+b:c\303\234 831s # Test 4: \374;\322 831s # Test 5: \303\261\303( 831s ok 7 /uri/escape-string 831s ok 8 /uri/escape-bytes 831s ok 9 /uri/scheme 831s ok 10 /uri/build 831s ok 11 /uri/split 831s ok 12 /uri/is_valid 831s ok 13 /uri/to-string 831s ok 14 /uri/join 831s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 831s # Combination 0 831s # Combination 1 831s # Combination 2 831s # Combination 3 831s # Combination 4 831s # Combination 5 831s # Combination 6 831s # Combination 7 831s # Combination 8 831s # Combination 9 831s # Combination 10 831s # Combination 11 831s # Combination 12 831s # Combination 13 831s # Combination 14 831s # Combination 15 831s # Combination 16 831s # Combination 17 831s # Combination 18 831s # Combination 19 831s # Combination 20 831s # Combination 21 831s # Combination 22 831s # Combination 23 831s # Combination 24 831s # Combination 25 831s # Combination 26 831s # Combination 27 831s # Combination 28 831s # Combination 29 831s # Combination 30 831s # Combination 31 831s # Combination 32 831s # Combination 33 831s # Combination 34 831s # Combination 35 831s # Combination 36 831s # Combination 37 831s # Combination 38 831s # Combination 39 831s # Combination 40 831s # Combination 41 831s # Combination 42 831s # Combination 43 831s # Combination 44 831s # Combination 45 831s # Combination 46 831s # Combination 47 831s # Combination 48 831s # Combination 49 831s # Combination 50 831s # Combination 51 831s # Combination 52 831s # Combination 53 831s # Combination 54 831s # Combination 55 831s # Combination 56 831s # Combination 57 831s # Combination 58 831s # Combination 59 831s # Combination 60 831s # Combination 61 831s # Combination 62 831s # Combination 63 831s # Combination 64 831s # Combination 65 831s # Combination 66 831s # Combination 67 831s # Combination 68 831s # Combination 69 831s # Combination 70 831s # Combination 71 831s # Combination 72 831s # Combination 73 831s # Combination 74 831s # Combination 75 831s # Combination 76 831s # Combination 77 831s # Combination 78 831s # Combination 79 831s # Combination 80 831s # Combination 81 831s # Combination 82 831s # Combination 83 831s # Combination 84 831s # Combination 85 831s # Combination 86 831s # Combination 87 831s # Combination 88 831s # Combination 89 831s # Combination 90 831s # Combination 91 831s # Combination 92 831s # Combination 93 831s # Combination 94 831s # Combination 95 831s # Combination 96 831s # Combination 97 831s # Combination 98 831s # Combination 99 831s # Combination 100 831s # Combination 101 831s ok - glib/uri.test 831s # Running test: glib/type-flags.test 831s ok - glib/type-flags.test 831s # Running test: glib/memory-monitor.test 831s ok - glib/memory-monitor.test 831s # Running test: glib/dump.test 831s ok - glib/dump.test 831s # Running test: glib/power-profile-monitor-dbus.test 831s # Combination 102 831s # Combination 103 831s # Combination 104 831s # Combination 105 831s # Combination 106 831s # Combination 107 831s # Combination 108 831s # Combination 109 831s # Combination 110 831s # Combination 111 831s # Combination 112 831s # Combination 113 831s # Combination 114 831s # Combination 115 831s # Combination 116 831s # Combination 117 831s # Combination 118 831s # Combination 119 831s # Combination 120 831s # Combination 121 831s # Combination 122 831s # Combination 123 831s # Combination 124 831s # Combination 125 831s # Combination 126 831s # Combination 127 831s # Combination 128 831s # Combination 129 831s # Combination 130 831s # Combination 131 831s # Combination 132 831s # Combination 133 831s # Combination 134 831s # Combination 135 831s # Combination 136 831s # Combination 137 831s # Combination 138 831s # Combination 139 831s # Combination 140 831s # Combination 141 831s # Combination 142 831s # Combination 143 831s # Combination 144 831s # Combination 145 831s # Combination 146 831s # Combination 147 831s # Combination 148 831s # Combination 149 831s # Combination 150 831s # Combination 151 831s # Combination 152 831s # Combination 153 831s # Combination 154 831s # Combination 155 831s # Combination 156 831s # Combination 157 831s # Combination 158 831s # Combination 159 831s # Combination 160 831s # Combination 161 831s # Combination 162 831s # Combination 163 831s # Combination 164 831s # Combination 165 831s # Combination 166 831s # Combination 167 831s # Combination 168 831s # Combination 169 831s # Combination 170 831s # Combination 171 831s # Combination 172 831s # Combination 173 831s # Combination 174 831s # Combination 175 831s # Combination 176 831s # Combination 177 831s # Combination 178 831s # Combination 179 831s # Combination 180 831s # Combination 181 831s # Combination 182 831s # Combination 183 831s # Combination 184 831s # Combination 185 831s # Combination 186 831s # Combination 187 831s # Combination 188 831s # Combination 189 831s # Combination 190 831s # Combination 191 831s # Combination 192 831s # Combination 193 831s # Combination 194 831s # Combination 195 831s # Combination 196 831s # Combination 197 831s # Combination 198 831s # Combination 199 831s # Combination 200 831s # Combination 201 831s # Combination 202 831s # Combination 203 831s # Combination 204 831s # Combination 205 831s # Combination 206 831s # Combination 207 831s # Combination 208 831s # Combination 209 831s # Combination 210 831s # Combination 211 831s # Combination 212 831s # Combination 213 831s # Combination 214 831s # Combination 215 831s # Combination 216 831s # Combination 217 831s # Combination 218 831s # Combination 219 831s # Combination 220 831s # Combination 221 831s # Combination 222 831s # Combination 223 831s # Combination 224 831s # Combination 225 831s # Combination 226 831s # Combination 227 831s # Combination 228 831s # Combination 229 831s # Combination 230 831s # Combination 231 831s # Combination 232 831s # Combination 233 831s # Combination 234 831s # Combination 235 831s # Combination 236 831s # Combination 237 831s # Combination 238 831s # Combination 239 831s # Combination 240 831s # Combination 241 831s # Combination 242 831s # Combination 243 831s # Combination 244 831s # Combination 245 831s # Combination 246 831s # Combination 247 831s # Combination 248 831s # Combination 249 831s # Combination 250 831s # Combination 251 831s # Combination 252 831s # Combination 253 831s # Combination 254 831s # Combination 255 831s ok 15 /uri/join-split-round-trip 831s ok 16 /uri/normalize 831s # Start of unescape-bytes tests 831s # Test 0: %00%00 831s # Test 1: /cursors/none.png 831s # Test 2: /cursors%2fbad-subdir/none.png 831s # Test 3: %% 831s # Test 4: % 831s ok 17 /uri/unescape-bytes/nul-terminated 831s # Test 0: %00%00 831s # Test 1: /cursors/none.png 831s # Test 2: /cursors%2fbad-subdir/none.png 831s # Test 3: %% 831s # Test 4: % 831s ok 18 /uri/unescape-bytes/length 831s # End of unescape-bytes tests 831s # Start of parsing tests 831s # Test 0: foo: 831s # Test 1: file:/dev/null 831s # Test 2: file:///dev/null 831s # Test 3: ftp://user@host/path 831s # Test 4: ftp://user@host:9999/path 831s # Test 5: ftp://user:password@host/path 831s # Test 6: ftp://user:password@host:9999/path 831s # Test 7: ftp://user:password@host 831s # Test 8: http://us%65r@host 831s # Test 9: http://us%40r@host 831s # Test 10: http://us%3ar@host 831s # Test 11: http://us%2fr@host 831s # Test 12: http://us%3fr@host 831s # Test 13: http://host?query 831s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 831s # 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 831s # Test 16: http://space/%20 831s # Test 17: http://delims/%3C%3E%23%25%22 831s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 831s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 831s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 831s # Test 21: http://[3ffe:2a00:100:7031::1] 831s # Test 22: http://[1080::8:800:200C:417A]/foo 831s # Test 23: http://[::192.9.5.5]/ipng 831s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 831s # Test 25: http://[2010:836B:4179::836B:4179] 831s # Test 26: http://host/path with spaces 831s # Test 27: http://host/path 831s # Test 28: http://host/path 831s # Test 29: http://host 831s # Test 30: http://host:999 831s # Test 31: http://host/pa 831s # th 831s # Test 32: http: 831s # //host/path 831s # Test 33: http:// host/path 831s # Test 34: http://host/path? 831s # Test 35: http://host/path# 831s # Test 36: http://host/path% 831s # Test 37: http://h%ost/path 831s # Test 38: http://host/path%% 831s # Test 39: http://host/path%%% 831s # Test 40: http://host/path%/x/ 831s # Test 41: http://host/path%0x/ 831s # Test 42: http://host/path%ax 831s # Test 43: http://host/p?th/ 831s # Test 44: HTTP://////////////// 831s # Test 45: http://@host 831s # Test 46: http://:@host 831s # Test 47: scheme://foo%3Abar._webdav._tcp.local 831s # Test 48: http://example.com/.. 831s # Test 49: foo0://host/path 831s # Test 50: f0.o://host/path 831s # Test 51: http++://host/path 831s # Test 52: http-ish://host/path 831s # Test 53: http://[fe80::dead:beef%]/ 831s # Test 54: http://[fe80::dead:beef%em1]/ 831s # Test 55: http://[fe80::dead:beef%em1]/ 831s # Test 56: http://[fe80::dead:beef%25em1]/ 831s # Test 57: http://[fe80::dead:beef%25em1%20]/ 831s # Test 58: http://[fe80::dead:beef%25em%31]/ 831s # Test 59: http://[fe80::dead:beef%10]/ 831s # Test 60: http://[fe80::dead:beef%10]/ 831s # Test 61: http://[fe80::dead:beef%25]/ 831s # Test 62: http://[fe80::dead:beef%25]/ 831s # Test 63: http://[192.168.0.1%25em1]/ 831s # Test 64: http://[fe80::dead:beef%2em1]/ 831s # Test 65: http://[fe80::dead:beef%2em1]/ 831s # Test 66: http://[fe80::dead:beef%25em1%00]/ 831s # Test 67: http://[fe80::dead:beef%25em1%00]/ 831s # Test 68: http://xn--mixed-?p/ 831s # Test 69: data:./// 831s # Test 70: data:/.// 831s ok 19 /uri/parsing/absolute 831s ok 20 /uri/parsing/relative 831s # End of parsing tests 831s # Start of iter-params tests 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 21 /uri/iter-params/nul-terminated 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 22 /uri/iter-params/length 831s # End of iter-params tests 831s # Start of parse-params tests 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 23 /uri/parse-params/nul-terminated 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 24 /uri/parse-params/length 831s # End of parse-params tests 831s # End of uri tests 831s TAP version 14 831s # random seed: R02S853f5c9a4327ce5d5a34f3084fdd802e 831s 1..4 831s # Start of type tests 831s # Start of flags tests 831s ok 1 /type/flags/interface 831s ok 2 /type/flags/final 831s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 831s ok 3 /type/flags/deprecated 831s # Start of final tests 831s ok 4 /type/flags/final/instance-check 831s # End of final tests 831s # End of flags tests 831s # End of type tests 831s TAP version 14 831s # random seed: R02S268fb0cd0394fb7051a73d7b7e3efdc2 831s 1..1 831s # Start of memory-monitor tests 831s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 831s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 831s ok 1 /memory-monitor/default 831s # End of memory-monitor tests 831s TAP version 14 831s # random seed: R02S8a2db2de0a05db7f15988ab2b0caf1a3 831s 1..4 831s # Start of dump tests 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_11FY52/dump/empty-file/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_11FY52/dump/empty-file/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_11FY52/dump/empty-file/.dirs/system-config1:/tmp/test_dump_11FY52/dump/empty-file/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_11FY52/dump/empty-file/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_11FY52/dump/empty-file/.dirs/system-data1:/tmp/test_dump_11FY52/dump/empty-file/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_11FY52/dump/empty-file/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_11FY52/dump/empty-file/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_11FY52/dump/empty-file/.dirs/runtime 831s ok 1 /dump/empty-file 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_11FY52/dump/missing-get-type/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_11FY52/dump/missing-get-type/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_11FY52/dump/missing-get-type/.dirs/runtime 831s Invalid GType function: 'does_not_exist_get_type' 831s ok 2 /dump/missing-get-type 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_11FY52/dump/missing-quark/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_11FY52/dump/missing-quark/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_11FY52/dump/missing-quark/.dirs/runtime 831s Invalid error quark function: 'does_not_exist_error' 831s ok 3 /dump/missing-quark 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_11FY52/dump/basic/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_11FY52/dump/basic/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_11FY52/dump/basic/.dirs/system-config1:/tmp/test_dump_11FY52/dump/basic/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_11FY52/dump/basic/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_11FY52/dump/basic/.dirs/system-data1:/tmp/test_dump_11FY52/dump/basic/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_11FY52/dump/basic/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_11FY52/dump/basic/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_11FY52/dump/basic/.dirs/runtime 831s ok 4 /dump/basic 831s # End of dump tests 832s TAP version 13 832s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 832s 1..1 832s ok - glib/power-profile-monitor-dbus.test 832s # Running test: glib/thread-pool.test 832s TAP version 14 832s # random seed: R02S33b9df1dc3fc3b7a9a12d642b7580191 832s 1..5 832s # Start of thread_pool tests 832s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 832s ok 1 /thread_pool/shared 832s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 832s ok 2 /thread_pool/exclusive 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 832s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 832s ok 3 /thread_pool/create_shared_after_exclusive 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 832s ok 4 /thread_pool/create_full 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 832s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 832s ok 5 /thread_pool/create_exclusive_after_shared 832s ok - glib/thread-pool.test 832s # Running test: glib/socket.test 832s # End of thread_pool tests 832s TAP version 14 832s # random seed: R02S8379a9be7b5fe47ace5e1195e48a5763 832s 1..28 832s # Start of socket tests 833s ok 1 /socket/ipv4_sync 833s # slow test /socket/ipv4_sync executed in 1.00 secs 834s ok 2 /socket/ipv4_async 834s # slow test /socket/ipv4_async executed in 1.00 secs 834s ok 3 /socket/ipv6_sync 834s ok 4 /socket/ipv6_async 834s ok 5 /socket/ipv6_v4mapped 835s ok 6 /socket/close_graceful 835s # slow test /socket/close_graceful executed in 1.00 secs 835s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 835s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 835s ok 8 /socket/fd_reuse 835s ok 9 /socket/address 835s ok 10 /socket/unix-from-fd 835s ok 11 /socket/unix-connection 835s ok 12 /socket/unix-connection-ancillary-data 835s ok 13 /socket/source-postmortem 835s ok 14 /socket/read_write 835s ok 15 /socket/read_writev 835s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 835s ok 16 /socket/receive_bytes 835s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 835s ok 17 /socket/receive_bytes_from 835s # Start of ipv4_sync tests 835s ok 18 /socket/ipv4_sync/datagram 835s # Start of datagram tests 836s ok 19 /socket/ipv4_sync/datagram/timeouts 836s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 836s # End of datagram tests 836s # End of ipv4_sync tests 836s # Start of ipv6_sync tests 836s ok 20 /socket/ipv6_sync/datagram 836s # Start of datagram tests 837s # Executing: glib/socket.test 837s ok 21 /socket/ipv6_sync/datagram/timeouts 837s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 837s # End of datagram tests 837s # End of ipv6_sync tests 837s # Start of reuse tests 837s ok 22 /socket/reuse/tcp 837s ok 23 /socket/reuse/udp 837s # End of reuse tests 837s # Start of get_available tests 837s ok 24 /socket/get_available/datagram 837s ok 25 /socket/get_available/stream 837s # End of get_available tests 837s # Start of credentials tests 837s # Supported on this OS: GCredentials:linux-ucred:pid=0 837s ok 26 /socket/credentials/tcp_client 837s # Supported on this OS: GCredentials:linux-ucred:pid=0 837s ok 27 /socket/credentials/tcp_server 837s # Supported on this OS: GCredentials:linux-ucred:pid=2118,uid=1000,gid=1000 837s ok 28 /socket/credentials/unix_socketpair 837s # End of credentials tests 837s # End of socket tests 837s ok - glib/socket.test 837s # Running test: glib/gdbus-peer.test 837s TAP version 14 837s # random seed: R02S9d69b5ae1390eee211eb3fc30f902d75 837s 1..12 837s # Start of gdbus tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/.dirs/runtime 837s # Testing with unix:dir address 837s # Testing with unix:tmpdir address 837s # Testing with unix:path address 837s ok 1 /gdbus/peer-to-peer 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/delayed-message-processing/.dirs/runtime 837s # Testing with unix:dir address 838s ok 2 /gdbus/delayed-message-processing 838s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/nonce-tcp/.dirs/runtime 838s ok 3 /gdbus/nonce-tcp 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/tcp-anonymous/.dirs/runtime 838s ok 4 /gdbus/tcp-anonymous 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/credentials/.dirs/runtime 838s ok 5 /gdbus/credentials 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/codegen-peer-to-peer/.dirs/runtime 838s # Testing with unix:dir address 838s # Machine ID: 9acd427571b540f48c6abce6b0f7a40e 839s ok 6 /gdbus/codegen-peer-to-peer 839s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 839s # Start of peer-to-peer tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/signals/.dirs/runtime 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 839s # Testing with unix:dir address 839s ok 7 /gdbus/peer-to-peer/signals 839s # Start of invalid tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/data 839s ok - glib/gdbus-peer.test 839s # Running test: glib/properties-refcount2.test 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/server/.dirs/runtime 839s ok 8 /gdbus/peer-to-peer/invalid/server 839s # Start of conn tests 839s # Start of stream tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 839s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 839s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 839s # End of stream tests 839s # Start of addr tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 839s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_H09S52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 839s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 839s # End of addr tests 839s # End of conn tests 839s # End of invalid tests 839s # End of peer-to-peer tests 839s # End of gdbus tests 839s TAP version 14 839s # random seed: R02S72fcac620576fde8ea854ece312da33c 839s 1..1 839s # Start of gobject tests 839s # Start of refcount tests 839s # init 0x10ce8e01de30 839s # 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # Executing: glib/properties-refcount2.test 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # dispose 0x10ce8e01de30! 842s # 842s ok 1 /gobject/refcount/properties-2 842s # slow test /gobject/refcount/properties-2 executed in 3.22 secs 842s # End of refcount tests 842s # End of gobject tests 842s ok - glib/properties-refcount2.test 842s # Running test: glib/cxx-17.test 842s TAP version 14 842s # random seed: R02S1cf64881d4b23d1769a3f4addf7c6ef6 842s 1..2 842s # Start of gtask tests 842s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 842s ok 1 /gtask/name 842s # Start of name tests 842s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 842s ok 2 /gtask/name/macro-wrapper 842s # End of name tests 842s # End of gtask tests 842s ok - glib/cxx-17.test 842s # Running test: glib/live-g-file.test 842s TAP version 14 842s # random seed: R02S641200fc5ea327fc1ad2c727bb113ded 842s 1..13 842s # Start of live-g-file tests 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/prep_clean_structure/.dirs/runtime 842s # Cleaning target testing structure in '/tmp/test_live-g-file_GLES52/testdir_live-g-file'... 842s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 842s ok 1 /live-g-file/prep_clean_structure 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/create_structure/.dirs/runtime 842s # 842s # Going to create testing structure in '/tmp/test_live-g-file_GLES52/testdir_live-g-file'... 842s # Creating directory 'dir1'... 842s # Creating directory 'dir1/subdir'... 842s # Creating directory 'dir2'... 842s # Creating directory 'dir-target'... 842s # Creating directory 'dir_no-access'... 842s # Creating directory 'dir_no-write'... 842s # Creating file 'target-file'... 842s # Creating file 'normal_file'... 842s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 842s # Creating file 'executable_file'... 842s # Creating file 'private_file'... 842s # Creating file 'normal_file2'... 842s # Creating file 'readonly_file'... 842s # Creating file 'UTF_pr?i?lis? z'... 842s # Creating directory 'dir_pr?i?lis? z'... 842s # Creating symlink 'lost_symlink' --> 'nowhere'... 842s # Creating directory 'dir_hidden'... 842s # Creating file 'dir_hidden/.a-hidden-file'... 842s # Creating file 'dir_hidden/file-in-.hidden1'... 842s # Creating file 'dir_hidden/file-in-.hidden2'... 842s # Creating pattern file... 842s # done. 842s ok 2 /live-g-file/create_structure 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_initial_structure/.dirs/runtime 842s # Testing sample structure in '/tmp/test_live-g-file_GLES52/testdir_live-g-file'... 842s # Testing file 'dir1'... 842s # Testing file 'dir1/subdir'... 842s # Testing file 'dir2'... 842s # Testing file 'dir-target'... 842s # Testing file 'dir_no-access'... 842s # Testing file 'dir_no-write'... 842s # Testing file 'target-file'... 842s # Testing file 'normal_file'... 842s # Testing file 'normal_file-symlink'... 842s # Testing file 'executable_file'... 842s # Testing file 'private_file'... 842s # Testing file 'normal_file2'... 842s # Testing file 'readonly_file'... 842s # Testing file 'UTF_pr?i?lis? z'... 842s # Testing file 'dir_pr?i?lis? z'... 842s # Testing file 'lost_symlink'... 842s # Testing file 'dir_hidden'... 842s # Testing file 'dir_hidden/.a-hidden-file'... 842s # Testing file 'dir_hidden/file-in-.hidden1'... 842s # Testing file 'dir_hidden/file-in-.hidden2'... 842s # Testing pattern file... 842s # read 65536 bytes, total = 65536 of 65536. 842s ok 3 /live-g-file/test_initial_structure 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_traverse_structure/.dirs/runtime 842s # Traversing through the sample structure in '/tmp/test_live-g-file_GLES52/testdir_live-g-file'... 842s # Found file dir1, relative to root: dir1 842s # Found file subdir, relative to root: dir1/subdir 842s # Found file dir2, relative to root: dir2 842s # Found file dir-target, relative to root: dir-target 842s # Found file dir_no-access, relative to root: dir_no-access 842s # Found file dir_no-write, relative to root: dir_no-write 842s # Found file target-file, relative to root: target-file 842s # Found file normal_file, relative to root: normal_file 842s # Found file normal_file-symlink, relative to root: normal_file-symlink 842s # Found file executable_file, relative to root: executable_file 842s # Found file private_file, relative to root: private_file 842s # Found file normal_file2, relative to root: normal_file2 842s # Found file readonly_file, relative to root: readonly_file 842s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 842s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 842s # Found file lost_symlink, relative to root: lost_symlink 842s # Found file dir_hidden, relative to root: dir_hidden 842s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 842s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 842s # Found file .hidden, relative to root: dir_hidden/.hidden 842s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 842s # Found file pattern_file, relative to root: pattern_file 842s ok 4 /live-g-file/test_traverse_structure 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_enumerate/.dirs/runtime 842s # Test enumerate '/tmp/test_live-g-file_GLES52/testdir_live-g-file'... 842s # Testing file 'dir_no-access' 842s # Testing file 'normal_file' 842s # Testing file 'normal_file-symlink' 842s # Testing file 'not_exists' 842s # Testing file 'not_exists' 842s # Testing file 'not_exists2' 842s # Testing file 'not_exists3' 842s # Testing file 'not_exists4' 842s # Testing file 'dir_no-execute/file' 842s ok 5 /live-g-file/test_enumerate 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_open/.dirs/runtime 842s # test_open: 'dir1' 842s # test_open: 'dir_no-access' 842s # test_open: 'target-file' 842s # test_open: 'normal_file-symlink' 842s # test_open: 'executable_file' 842s # test_open: 'private_file' 842s # test_open: 'readonly_file' 842s # test_open: 'UTF_pr?i?lis? z' 842s # test_open: 'pattern_file' 842s # test_open: 'not_exists' 842s # test_open: 'dir_no-execute/file' 842s # test_open: 'lost_symlink' 842s ok 6 /live-g-file/test_open 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_create/.dirs/runtime 842s # test_create: 'dir1' 842s # error code 3 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir1?: Is a directory 842s # test_create: 'dir1/subdir' 842s # error code 3 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir1/subdir?: Is a directory 842s # test_create: 'dir2' 842s # error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir2?: File exists 842s # test_create: 'normal_file' 842s # error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/normal_file?: File exists 842s # test_create: 'executable_file' 842s # test_create: 'private_file' 842s # test_create: 'normal_file2' 842s # test_create: 'UTF_pr?i?lis? z' 842s # error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 842s # test_create: 'dir_pr?i?lis? z' 842s # error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_pr?i?lis? z?: File exists 842s # test_create: 'pattern_file' 842s # test_create: 'not_exists2' 842s # test_create: 'not_exists3' 842s # test_create: 'not_exists4' 842s ok 7 /live-g-file/test_create 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_copy_move/.dirs/runtime 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir1/subdir' --> 'dir-target' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir1/subdir' --> '.' 842s # res = 0, error code 2 = Target file exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir1/subdir' --> 'target-file' 842s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir1/subdir' --> 'not_exists' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir2' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir-target' --> 'dir-target' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir-target' --> '.' 842s # res = 0, error code 2 = Target file exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir-target' --> 'target-file' 842s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/dir-target?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir-target' --> 'not_exists' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir-target' --> 'dir_no-access' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'dir-target' --> 'dir_no-write' 842s # res = 0, error code 25 = Can?t recursively copy directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'target-file' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'target-file' --> '.' 842s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file?: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'target-file' --> 'target-file' 842s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/target-file?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'target-file' --> 'not_exists' 842s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/target-file?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'target-file' --> 'dir_no-access' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/target-file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'target-file' --> 'dir_no-write' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/target-file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file-symlink' --> '.' 842s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/normal_file-symlink: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file-symlink' --> 'target-file' 842s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 842s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 842s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 842s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> '.' 842s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/executable_file?: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> 'target-file' 842s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/executable_file?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> 'not_exists' 842s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/executable_file?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> 'dir_no-access' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'executable_file' --> 'dir_no-write' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> '.' 842s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/private_file?: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> 'target-file' 842s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/private_file?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> 'not_exists' 842s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/private_file?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> 'dir_no-access' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/private_file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'private_file' --> 'dir_no-write' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/private_file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> '.' 842s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/normal_file2?: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> 'target-file' 842s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/normal_file2?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> 'not_exists' 842s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> 'dir_no-access' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'normal_file2' --> 'dir_no-write' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 842s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 842s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 842s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'pattern_file' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'pattern_file' --> '.' 842s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/pattern_file?: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'pattern_file' --> 'target-file' 842s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/pattern_file?: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'pattern_file' --> 'not_exists' 842s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'pattern_file' --> 'dir_no-access' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'pattern_file' --> 'dir_no-write' 842s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> 'dir-target' 842s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> '.' 842s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> 'target-file' 842s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> 'not_exists' 842s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> 'dir_no-access' 842s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> 'dir_no-write' 842s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists?: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'not_exists' --> 'dir-target' 842s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'lost_symlink' --> 'dir-target' 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'lost_symlink' --> '.' 842s ok - glib/live-g-file.test 842s # Running test: glib/closure-refcount.test 842s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/lost_symlink: File exists 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'lost_symlink' --> 'target-file' 842s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/target-file/lost_symlink: Not a directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'lost_symlink' --> 'not_exists' 842s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 842s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 842s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 842s ok 8 /live-g-file/test_copy_move 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_delete/.dirs/runtime 842s # Deleting dir1, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir1 842s # result = 0, error = Error removing file /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir1: Directory not empty 842s # Deleting dir2, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir2 842s # result = 0, error = Error removing file /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir2: No such file or directory 842s # Deleting executable_file, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/executable_file 842s # result = 0, error = Error trashing file /tmp/test_live-g-file_GLES52/testdir_live-g-file/executable_file: No such file or directory 842s # Deleting readonly_file, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/readonly_file 842s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_pr?i?lis? z 842s # Deleting not_exists, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists 842s # result = 0, error = Error removing file /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists: No such file or directory 842s # Deleting not_exists, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists 842s # result = 0, error = Error trashing file /tmp/test_live-g-file_GLES52/testdir_live-g-file/not_exists: No such file or directory 842s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-execute/file 842s # result = 0, error = Error removing file /tmp/test_live-g-file_GLES52/testdir_live-g-file/dir_no-execute/file: No such file or directory 842s # Deleting lost_symlink, path = /tmp/test_live-g-file_GLES52/testdir_live-g-file/lost_symlink 842s ok 9 /live-g-file/test_delete 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_make_directory_with_parents/.dirs/runtime 842s # We do not have CAP_DAC_OVERRIDE or equivalent 842s ok 10 /live-g-file/test_make_directory_with_parents 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/final_clean/.dirs/runtime 842s # Cleaning target testing structure in '/tmp/test_live-g-file_GLES52/testdir_live-g-file'... 842s # deleting 'dir1' 842s # deleting 'subdir' 842s # deleting 'dir-target' 842s # deleting 'dir2' 842s # deleting 'target-file' 842s # deleting 'normal_file-symlink' 842s # deleting 'pattern_file' 842s # deleting 'executable_file' 842s # deleting 'private_file' 842s # deleting 'normal_file2' 842s # deleting 'UTF_pr?i?lis? z' 842s # deleting 'lost_symlink' 842s # deleting 'dir_no-access' 842s # deleting 'dir_no-write' 842s # deleting 'target-file' 842s # deleting 'normal_file' 842s # deleting 'normal_file-symlink' 842s # deleting 'executable_file~' 842s # deleting 'private_file' 842s # deleting 'normal_file2~' 842s # deleting 'a' 842s # deleting 'UTF_pr?i?lis? z' 842s # deleting 'dir_hidden' 842s # deleting '.a-hidden-file' 842s # deleting 'file-in-.hidden1' 842s # deleting '.hidden' 842s # deleting 'file-in-.hidden2' 842s # deleting 'pattern_file' 842s # deleting 'executable_file' 842s # deleting 'normal_file2' 842s # deleting 'not_exists2' 842s # deleting 'not_exists3' 842s # deleting 'not_exists4' 842s ok 11 /live-g-file/final_clean 842s # Start of test_unix_is_mountpoint tests 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 842s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_GLES52/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 842s ok 13 /live-g-file/test_unix_is_mountpoint/proc 842s # End of test_unix_is_mountpoint tests 842s # End of live-g-file tests 842s TAP version 14 842s # random seed: R02S506d03add993c734c18cbaf9e0751e75 842s 1..1 842s # Start of closure tests 842s # Init 0xb902cae5d30 842s # Yielding from main thread 842s # Yielding from main thread 842s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from thread1 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from thread2 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from thread1 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from thread2 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from thread1 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 843s # Yielding from main thread 844s # Yielding from thread2 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from thread1 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from thread2 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from thread1 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from thread1 844s # Yielding from thread2 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 844s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from thread1 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from thread2 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from thread1 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from thread2 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from thread1 845s # Yielding from thread2 845s # Yielding from main thread 845s # Yielding from main thread 845s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from thread1 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from thread2 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from thread1 846s # Yielding from main thread 846s # Yielding from thread2 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from main thread 846s # Yielding from thread2 846s # Yielding from main thread 846s # Yielding from main thread 847s # Yielding from thread1 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from thread2 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Executing: glib/closure-refcount.test 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from thread1 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from thread2 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from thread1 847s # Yielding from main thread 847s # Yielding from thread2 847s # Yielding from main thread 847s # Yielding from main thread 847s # Yielding from main thread 848s # Stopping 848s # Stopped 848s ok 1 /closure/refcount 848s # slow test /closure/refcount executed in 5.22 secs 848s # End of closure tests 848s ok - glib/closure-refcount.test 848s # Running test: glib/utils-c-11.test 848s TAP version 14 848s # random seed: R02S6a627d7274ee286a599ec663cf15c63f 848s 1..41 848s # Start of utils tests 848s ok 1 /utils/language-names 848s ok 2 /utils/locale-variants 848s ok 3 /utils/version 848s ok 4 /utils/appname 848s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 848s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 848s ok 5 /utils/prgname-thread-safety 848s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 848s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 848s ok 6 /utils/tmpdir 848s ok 7 /utils/basic_bits 848s ok 8 /utils/bits 848s ok 9 /utils/swap 848s ok 10 /utils/find-program 848s ok 11 /utils/find-program-for-path 848s ok 12 /utils/debug 848s ok 13 /utils/codeset 848s ok 14 /utils/codeset2 848s ok 15 /utils/console-charset 848s ok 16 /utils/gettext 848s ok 17 /utils/username 848s ok 18 /utils/realname 848s ok 19 /utils/hostname 848s ok 20 /utils/xdgdirs 848s ok 21 /utils/specialdir 848s # NAME: Ubuntu 848s ok 22 /utils/os-info 848s ok 23 /utils/clear-pointer 848s ok 24 /utils/clear-pointer-cast 848s ok 25 /utils/take-pointer 848s ok 26 /utils/clear-source 848s ok 27 /utils/misc-mem 848s # /utils/aligned-mem summary: Aligned memory allocator 848s # Alignment must not be zero 848s # Alignment must be a power of two 848s # Alignment must be a multiple of sizeof(void*) 848s ok 28 /utils/aligned-mem 848s # /utils/free-sized summary: Check that g_free_sized() works 848s ok 29 /utils/free-sized 848s ok 30 /utils/nullify 848s ok - glib/utils-c-11.test 848s # Running test: glib/mem-overflow.test 848s ok 31 /utils/atexit 848s ok 32 /utils/check-setuid 848s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 848s ok 33 /utils/int-limits 848s ok 34 /utils/clear-list 848s ok 35 /utils/clear-slist 848s ok 36 /utils/steal-handle-id 848s # Start of specialdir tests 848s ok 37 /utils/specialdir/desktop 848s # End of specialdir tests 848s # Start of clear-pointer tests 848s ok 38 /utils/clear-pointer/side-effects 848s # End of clear-pointer tests 848s # Start of aligned-mem tests 848s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 848s ok 39 /utils/aligned-mem/alignment 848s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 848s ok 40 /utils/aligned-mem/zeroed 848s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 848s ok 41 /utils/aligned-mem/free-sized 848s # Start of subprocess tests 848s # End of subprocess tests 848s # End of aligned-mem tests 848s # End of utils tests 848s TAP version 14 848s # random seed: R02S8b03ff34ebd7df68860eec47ceeedc6d 848s 1..2 848s # Start of mem tests 848s ok 1 /mem/overflow 848s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 848s ok 2 /mem/empty-alloc 848s # Start of overflow tests 848s # Start of subprocess tests 848s # End of subprocess tests 848s # End of overflow tests 848s # Start of empty-alloc tests 848s # End of empty-alloc tests 848s # End of mem tests 848s ok - glib/mem-overflow.test 848s # Running test: glib/threadtests.test 848s TAP version 14 848s # random seed: R02S90241fdb239fd854486bd9cb4089bc76 848s 1..5 848s # Start of GObject tests 848s ok 1 /GObject/threaded-object-init 849s ok 2 /GObject/threaded-weak-ref 849s # slow test /GObject/threaded-weak-ref executed in 0.88 secs 849s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 849s # /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 849s ok 3 /GObject/threaded-toggle-notify 849s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 849s # Start of threaded-weak-ref tests 849s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 849s # /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. 849s ok 5 /GObject/threaded-weak-ref/on-finalization 849s # End of threaded-weak-ref tests 849s # End of GObject tests 849s ok - glib/threadtests.test 849s # Running test: glib/closure.test 849s TAP version 14 849s # random seed: R02S867ae71f5d337b1ad313c42f91a3f202 849s 1..6 849s # Start of closure tests 849s ok 1 /closure/idle 849s ok 2 /closure/timeout 849s ok 3 /closure/iochannel 849s ok 4 /closure/child 849s ok - glib/closure.test 849s # Running test: glib/deftype.test 849s ok - glib/deftype.test 849s # Running test: glib/tls-database.test 849s ok - glib/tls-database.test 849s # Running test: glib/value.test 849s ok 5 /closure/fd 849s ok 6 /closure/signal 849s # End of closure tests 849s TAP version 14 849s # random seed: R02Sa519d7ebaa3dd81f45dcd3a8444a080a 849s 1..1 849s # Start of tls-backend tests 849s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 849s ok 1 /tls-backend/set-default-database 849s # End of tls-backend tests 849s TAP version 14 849s # random seed: R02S379d5f192e355ff07b6db0de11a30f03 849s 1..9 849s # Start of value tests 849s ok 1 /value/basic 849s ok 2 /value/collection 849s ok 3 /value/copying 849s ok 4 /value/enum-transformation 849s ok 5 /value/gtype 849s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 849s ok 6 /value/string 849s # Next: GObject object in GValue of GObject to GValue of GObject 849s # Next: GObject object in GValue of GObject to GValue of TestInterface 849s # Next: GObject object in GValue of GObject to GValue of TestObjectA 849s # Next: GObject object in GValue of GObject to GValue of TestObjectB 849s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 849s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 849s # Next: TestObjectA object in GValue of GObject to GValue of GObject 849s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 849s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 849s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 849s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 849s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 849s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 849s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 849s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 849s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 849s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 849s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 849s # Next: TestObjectB object in GValue of GObject to GValue of GObject 849s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 849s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 849s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 849s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 849s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 849s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 849s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 849s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 849s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 849s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 849s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 849s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 849s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 849s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 849s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 849s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 849s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 849s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 849s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 849s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 849s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 849s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 849s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 849s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 849s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 849s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 849s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 849s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 849s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 849s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 849s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 849s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 849s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 849s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 849s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 849s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 849s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 849s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 849s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 849s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 849s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 849s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 849s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 849s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 849s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 849s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 849s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 849s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 849s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 849s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 849s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 849s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 849s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 849s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 849s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 849s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 849s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 849s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 849s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 849s ok 7 /value/transform-object 849s # Start of array tests 849s ok 8 /value/array/basic 849s ok 9 /value/array/sort-with-data 849s # End of array tests 849s # End of value tests 849s TAP version 14 849s # random seed: R02Sec0097cca37347cade481a53316dc223 849s 1..6 849s # Start of glib tests 849s # Start of checked-math tests 849s ok 1 /glib/checked-math/guint-add 849s ok 2 /glib/checked-math/guint-mul 849s ok 3 /glib/checked-math/guint64-add 849s ok 4 /glib/checked-math/guint64-mul 849s ok 5 /glib/checked-math/gsize-add 849s ok 6 /glib/checked-math/gsize-mul 849s # End of checked-math tests 849s # End of glib tests 849s TAP version 14 849s # random seed: R02Se73077f9490203b777fa8f60b34187ed 849s 1..5 849s # Start of async-splice tests 849s ok 1 /async-splice/copy-chunks 849s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 849s ok 2 /async-splice/copy-chunks-threaded-input 849s ok 3 /async-splice/copy-chunks-threaded-output 849s ok 4 /async-splice/copy-chunks-threaded 849s ok 5 /async-splice/cancelled 849s # End of async-splice tests 849s TAP version 14 849s # random seed: R02Sc749925c52cd7c84064ba8b4bfc06d9e 849s 1..7 849s # Start of utf8 tests 849s ok 1 /utf8/strlen 849s ok 2 /utf8/strncpy 849s ok 3 /utf8/strrchr 849s ok 4 /utf8/reverse 849s ok 5 /utf8/substring 849s ok 6 /utf8/make-valid 849s ok 7 /utf8/truncate-middle 849s # End of utf8 tests 849s TAP version 14 849s # random seed: R02S5cd81fe1b07601a3655473ac61ccf26c 849s 1..19 849s # Start of tls-certificate tests 849s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 849s ok 1 /tls-certificate/pem-parser 849s ok 2 /tls-certificate/pem-parser-handles-chain 849s ok 3 /tls-certificate/from_file 849s ok 4 /tls-certificate/from_files 849s ok 5 /tls-certificate/from_files_crlf 849s ok 6 /tls-certificate/from_files_pkcs8 849s ok 7 /tls-certificate/from_files_pkcs8enc 849s ok 8 /tls-certificate/list_from_file 849s ok - glib/value.test 849s # Running test: glib/overflow.test 849s ok - glib/overflow.test 849s # Running test: glib/async-splice-output-stream.test 849s ok - glib/async-splice-output-stream.test 849s # Running test: glib/utf8-misc.test 849s ok - glib/utf8-misc.test 849s # Running test: glib/tls-certificate.test 849s ok - glib/tls-certificate.test 849s # Running test: glib/hash.test 849s ok 9 /tls-certificate/pkcs11-uri 849s ok 10 /tls-certificate/pkcs11-uri-unsupported 849s ok 11 /tls-certificate/from_pkcs12 849s ok 12 /tls-certificate/from_pkcs12_file 849s ok 13 /tls-certificate/not-valid-before 849s ok 14 /tls-certificate/not-valid-after 849s ok 15 /tls-certificate/subject-name 849s ok 16 /tls-certificate/issuer-name 849s ok 17 /tls-certificate/dns-names 849s ok 18 /tls-certificate/ip-addresses 849s ok 19 /tls-certificate/pem-parser-no-sentinel 849s # End of tls-certificate tests 849s TAP version 14 849s # random seed: R02S0fa52b51a3b39af201cfac8c55ed2d8b 849s 1..34 849s # Start of hash tests 849s ok 1 /hash/misc 849s ok 2 /hash/one 849s ok 3 /hash/honeyman 849s ok 4 /hash/direct 849s ok 5 /hash/direct2 849s ok 6 /hash/int 849s ok 7 /hash/int64 849s ok 8 /hash/double 849s ok 9 /hash/string 849s ok 10 /hash/set 849s ok 11 /hash/set-ref 849s ok 12 /hash/ref 849s ok 13 /hash/remove-all 849s ok 14 /hash/recursive-remove-all 849s ok 15 /hash/find 849s ok 16 /hash/foreach 849s ok 17 /hash/foreach-steal 849s ok 18 /hash/steal-extended 849s ok 19 /hash/steal-all-keys 849s ok 20 /hash/steal-all-values 849s ok 21 /hash/lookup-extended 849s ok 22 /hash/new-similar 849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 849s ok 23 /hash/lookup-null-key 849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 849s ok 24 /hash/destroy-modify 849s ok 25 /hash/consistency 849s ok - glib/hash.test 849s # Running test: glib/sleepy-stream.test 849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 849s ok 26 /hash/iter-replace 849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 849s ok 27 /hash/set-insert-corruption 849s ok 28 /hash/set-to-strv 849s ok 29 /hash/get-keys-as-ptr-array 849s ok 30 /hash/get-values-as-ptr-array 849s ok 31 /hash/primes 849s # Start of int64 tests 849s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 849s ok 32 /hash/int64/collisions 849s # End of int64 tests 849s # Start of double tests 849s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 849s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 849s ok 33 /hash/double/collisions 849s # End of double tests 849s # Start of recursive-remove-all tests 849s # End of recursive-remove-all tests 849s # Start of steal-extended tests 849s ok 34 /hash/steal-extended/optional 849s # End of steal-extended tests 849s # End of hash tests 849s TAP version 14 849s # random seed: R02S3069ff3ed8853d97dabcd842f74453e8 849s 1..2 849s # Start of filter-stream tests 849s ok 1 /filter-stream/input 849s ok 2 /filter-stream/async 849s # End of filter-stream tests 849s ok - glib/sleepy-stream.test 849s # Running test: glib/memory-monitor-portal.test 849s TAP version 13 849s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 849s 1..1 849s ok - glib/memory-monitor-portal.test 849s # Running test: glib/testing.test 849s TAP version 14 849s # random seed: R02Sb43cc58a94c5de7f32109d5d9fa14728 849s 1..1 849s # Start of assert tests 849s ok - glib/testing.test 849s ok 1 /assert/finalize_object 849s # Start of finalize_object tests 849s # Start of subprocess tests 849s # End of subprocess tests 849s # End of finalize_object tests 849s # End of assert tests 849s # Running test: glib/gdbus-subscribe.test 849s TAP version 14 849s # random seed: R02S8ac882cca0afbf977a3c516edb7b7582 849s 1..24 849s # Start of gdbus tests 849s # Start of subscribe tests 849s # Start of conn tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/simple/.dirs/runtime 849s # subscriber is :1.0 849s # service is :1.1 849s # service 2 is :1.2 849s # attacker is :1.3 849s # Waiting for AddMatch to be processed 849s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 849s # Step 0: emitting signal 849s # Sender: service 849s # Destination: (broadcast) 849s # Path: /org/gtk/GDBus/ExampleInterface 849s # Interface: org.gtk.GDBus.ExampleInterface 849s # Member: Foo 849s # Argument 0: (not a string) 849s # Waiting for signal to reach message bus 849s # Step 1: adding subscription 849s # Sender: (any) 849s # Path: /org/gtk/GDBus/ExampleInterface 849s # Interface: org.gtk.GDBus.ExampleInterface 849s # Member: (any) 849s # String argument 0: (any) 849s # Flags: 0 849s # Subscribing via connection 849s # Waiting for AddMatch to be processed 849s # Step 2: emitting signal 849s # Sender: service 849s # Destination: (broadcast) 849s # Path: /org/gtk/GDBus/ExampleInterface 849s # Interface: org.gtk.GDBus.ExampleInterface 849s # Member: Foo 849s # Argument 0: (not a string) 849s # Waiting for signal to reach message bus 849s # Signal received from service :1.1 849s # Signal received from service :1.1 via connection 849s # Path: /org/gtk/GDBus/ExampleInterface 849s # Interface: org.gtk.GDBus.ExampleInterface 849s # Member: Foo 849s # Argument 0: (not a string) 849s # Sent in step: 2 849s # Received Finished signal from subscriber :1.0 849s # Received Finished signal from service :1.1 849s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 1 /gdbus/subscribe/conn/simple 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 850s # Step 0: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: service 2 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 3: emitting signal 850s # Sender: service 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 4: emitting signal 850s # Sender: service 2 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 1 850s # Signal received from service 2 :1.2 850s # Signal received from service 2 :1.2 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 2 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 3 850s # Signal received from service 2 :1.2 850s # Signal received from service 2 :1.2 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/match_twice/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 850s # Step 0: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 1: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: (any) 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 2: adding subscription 850s # Sender: (any) 850s # Path: (any) 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 3: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 4: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 3 /gdbus/subscribe/conn/match_twice 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 850s # Step 0: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 3: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 3 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 850s # Step 0: adding subscription 850s # Sender: :0.this.had.better.not.exist 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 850s # Step 0: claiming bus name 850s # Name: org.gtk.Test.AlreadyOwned 850s # Owner: service 850s # Step 1: adding subscription 850s # Sender: org.gtk.Test.AlreadyOwned 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 2: adding subscription 850s # Sender: org.gtk.Test.OwnedLater 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 3: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 4: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 5: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 6: claiming bus name 850s # Name: org.gtk.Test.OwnedLater 850s # Owner: service 850s # Step 7: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 5 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 850s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 850s # Step 0: adding subscription 850s # Sender: org.freedesktop.DBus 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # String argument 0: would I lie to you? 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Waiting for signal to reach message bus 850s # Step 3: claiming bus name 850s # Name: org.gtk.Test.OwnedLater 850s # Owner: service 850s # Signal received from message bus org.freedesktop.DBus 850s # Signal received from (unused) org.freedesktop.DBus via connection 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 850s # Step 0: claiming bus name 850s # Name: org.gtk.Test.AlreadyOwned 850s # Owner: service 850s # Step 1: adding subscription 850s # Sender: org.gtk.Test.AlreadyOwned 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Immediately unsubscribing 850s # Waiting for AddMatch to be processed 850s # Step 2: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 850s # End of conn tests 850s # Start of proxy tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/simple/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 850s # Step 0: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 1: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 2: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 9 /gdbus/subscribe/proxy/simple 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 850s # Step 0: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: service 2 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 3: emitting signal 850s # Sender: service 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 4: emitting signal 850s # Sender: service 2 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/match_twice/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 850s # Step 0: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: (any) 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 2: adding subscription 850s # Sender: (any) 850s # Path: (any) 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 3: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 4: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 11 /gdbus/subscribe/proxy/match_twice 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 850s # Step 0: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 3: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 3 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 850s # Step 0: adding subscription 850s # Sender: :0.this.had.better.not.exist 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 850s # Step 0: claiming bus name 850s # Name: org.gtk.Test.AlreadyOwned 850s # Owner: service 850s # Step 1: adding subscription 850s # Sender: org.gtk.Test.AlreadyOwned 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 2: adding subscription 850s # Sender: org.gtk.Test.OwnedLater 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 3: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 4: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 5: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 6: claiming bus name 850s # Name: org.gtk.Test.OwnedLater 850s # Owner: service 850s # Step 7: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 5 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 850s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 850s # Step 0: adding subscription 850s # Sender: org.freedesktop.DBus 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # String argument 0: would I lie to you? 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Waiting for signal to reach message bus 850s # Step 3: claiming bus name 850s # Name: org.gtk.Test.OwnedLater 850s # Owner: service 850s # Signal received from message bus org.freedesktop.DBus 850s # Signal received from (unused) org.freedesktop.DBus via proxy 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 850s # Step 0: claiming bus name 850s # Name: org.gtk.Test.AlreadyOwned 850s # Owner: service 850s # Step 1: adding subscription 850s # Sender: org.gtk.Test.AlreadyOwned 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 2: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 2 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 850s # End of proxy tests 850s # Start of parallel tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/simple/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 850s # Step 0: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 1: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 2: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 2 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 17 /gdbus/subscribe/parallel/simple 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 850s # Step 0: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: service 2 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 3: emitting signal 850s # Sender: service 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 4: emitting signal 850s # Sender: service 2 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 1 850s # Signal received from service 2 :1.2 850s # Signal received from service 2 :1.2 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 2 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 3 850s # Signal received from service 2 :1.2 850s # Signal received from service 2 :1.2 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/match_twice/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 850s # Step 0: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: adding subscription 850s # Sender: (any) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: (any) 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 2: adding subscription 850s # Sender: (any) 850s # Path: (any) 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Cannot subscribe via proxy: no bus name 850s # Waiting for AddMatch to be processed 850s # Step 3: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 4: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 4 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 850s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 19 /gdbus/subscribe/parallel/match_twice 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 850s # Step 0: adding subscription 850s # Sender: service :1.1 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 3: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 3 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 3 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 850s # Step 0: adding subscription 850s # Sender: :0.this.had.better.not.exist 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 850s # Step 0: claiming bus name 850s # Name: org.gtk.Test.AlreadyOwned 850s # Owner: service 850s # Step 1: adding subscription 850s # Sender: org.gtk.Test.AlreadyOwned 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 2: adding subscription 850s # Sender: org.gtk.Test.OwnedLater 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 3: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 4: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 5: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Step 6: claiming bus name 850s # Name: org.gtk.Test.OwnedLater 850s # Owner: service 850s # Step 7: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 5 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 5 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via connection 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 7 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 850s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 850s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 850s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 850s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 850s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 850s # Step 0: adding subscription 850s # Sender: org.freedesktop.DBus 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 1: emitting signal 850s # Sender: attacker 850s # Destination: (broadcast) 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # String argument 0: would I lie to you? 850s # Waiting for signal to reach message bus 850s # Step 2: emitting signal 850s # Sender: attacker 850s # Destination: subscriber :1.0 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Waiting for signal to reach message bus 850s # Step 3: claiming bus name 850s # Name: org.gtk.Test.OwnedLater 850s # Owner: service 850s # Signal received from message bus org.freedesktop.DBus 850s # Signal received from (unused) org.freedesktop.DBus via connection 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Signal received from message bus org.freedesktop.DBus 850s # Signal received from (unused) org.freedesktop.DBus via proxy 850s # Path: /org/freedesktop/DBus 850s # Interface: org.freedesktop.DBus 850s # Member: NameOwnerChanged 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 850s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 850s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_WGMZ52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # subscriber is :1.0 850s # service is :1.1 850s # service 2 is :1.2 850s # attacker is :1.3 850s # Waiting for AddMatch to be processed 850s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 850s # Step 0: claiming bus name 850s # Name: org.gtk.Test.AlreadyOwned 850s # Owner: service 850s # Step 1: adding subscription 850s # Sender: org.gtk.Test.AlreadyOwned 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: (any) 850s # String argument 0: (any) 850s # Flags: 0 850s # Subscribing via connection 850s # Immediately unsubscribing 850s # Subscribing via proxy 850s # Waiting for AddMatch to be processed 850s # Step 2: emitting signal 850s # Sender: service 850s # Destination: (broadcast) 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Waiting for signal to reach message bus 850s # Signal received from service :1.1 850s # Signal received from service :1.1 via proxy 850s # Path: /org/gtk/GDBus/ExampleInterface 850s # Interface: org.gtk.GDBus.ExampleInterface 850s # Member: Foo 850s # Argument 0: (not a string) 850s # Sent in step: 2 850s # Received Finished signal from subscriber :1.0 850s # Received Finished signal from service :1.1 850s # Received Finished signal from service 2 :1.2 850s # Received Finished signal from attacker :1.3 850s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 850s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 850s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 850s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 850s # End of parallel tests 850s # End of subscribe tests 850s # End of gdbus tests 850s ok - glib/gdbus-subscribe.test 850s # Running test: glib/list.test 850s ok - glib/list.test 850s TAP version 14 850s # random seed: R02S23aa4a3c94bd6d08e5641b6a0c8c7816 850s 1..20 850s # Start of list tests 850s ok 1 /list/sort 850s ok 2 /list/sort-with-data 850s ok 3 /list/insert-before-link 850s ok 4 /list/insert-sorted 850s ok 5 /list/insert-sorted-with-data 850s ok 6 /list/reverse 850s ok 7 /list/nth 850s ok 8 /list/concat 850s ok 9 /list/remove 850s ok 10 /list/remove-all 850s ok 11 /list/first-last 850s ok 12 /list/insert 850s ok 13 /list/free-full 850s ok 14 /list/copy 850s ok 15 /list/copy-deep 850s ok 16 /list/delete-link 850s ok 17 /list/prepend 850s ok 18 /list/position 850s ok 19 /list/double-free 850s # Start of sort tests 850s ok 20 /list/sort/stable 850s # End of sort tests 850s # End of list tests 850s # Running test: glib/refcount.test 850s TAP version 14 850s # random seed: R02S17db4bedb990a6d9039982f3d057d8ac 850s 1..4 850s # Start of refcount tests 850s ok 1 /refcount/grefcount 850s ok 2 /refcount/gatomicrefcount 850s # Start of grefcount tests 850s ok 3 /refcount/grefcount/saturation 850s # End of grefcount tests 850s # Start of gatomicrefcount tests 850s ok 4 /refcount/gatomicrefcount/saturation 850s # End of gatomicrefcount tests 850s # End of refcount tests 850s TAP version 14 850s # random seed: R02S73024cde45f66bbb8684d3fb528d9919 850s 1..1 850s # Start of gobject tests 850s # Start of flags tests 850s ok 1 /gobject/flags/validate 850s # End of flags tests 850s # End of gobject tests 850s ok - glib/refcount.test 850s # Running test: glib/flags.test 850s ok - glib/flags.test 850s # Running test: glib/memory-monitor-dbus.test 850s TAP version 13 850s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 850s 1..1 850s ok - glib/memory-monitor-dbus.test 850s # Running test: glib/macros-c-11.test 850s TAP version 14 850s # random seed: R02Sc9a7ea6939be139bec4ede681f7b33a6 850s 1..4 850s # Start of C tests 850s ok 1 /C/standard-11 850s # End of C tests 850s # Start of alignof tests 850s ok 2 /alignof/fallback 850s # End of alignof tests 850s # Start of assert tests 850s ok 3 /assert/static 850s # End of assert tests 850s # Start of struct tests 850s ok 4 /struct/sizeof_member 850s # End of struct tests 850s ok - glib/macros-c-11.test 850s # Running test: glib/param.test 850s TAP version 14 850s # random seed: R02Sbea027664044d01e1a5d0d64746922eb 850s 1..32 850s # Start of param tests 850s ok 1 /param/value 850s ok 2 /param/strings 850s ok 3 /param/qdata 850s ok 4 /param/validate 850s ok 5 /param/convert 850s ok 6 /param/implement # SKIP Skipping slow /param/implement test 850s ok 7 /param/default 850s ok 8 /param/is-valid-name 850s # Start of invalid-name tests 850s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 850s ok 9 /param/invalid-name/colon 850s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 850s ok 10 /param/invalid-name/first-char 850s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 850s ok 11 /param/invalid-name/empty 850s # End of invalid-name tests 850s # Start of implement tests 850s # Start of subprocess tests 850s # End of subprocess tests 850s # End of implement tests 850s # End of param tests 850s # Start of value tests 850s ok 12 /value/transform 850s # End of value tests 850s # Start of paramspec tests 850s ok 13 /paramspec/char 850s ok 14 /paramspec/uchar 850s ok 15 /paramspec/int 850s ok 16 /paramspec/uint 850s ok 17 /paramspec/long 850s ok 18 /paramspec/ulong 850s ok 19 /paramspec/int64 850s ok 20 /paramspec/uint64 850s ok 21 /paramspec/float 850s ok 22 /paramspec/double 850s ok 23 /paramspec/unichar 850s ok 24 /paramspec/param 850s ok 25 /paramspec/null-param 850s ok 26 /paramspec/string 850s ok 27 /paramspec/override 850s ok 28 /paramspec/gtype 850s ok 29 /paramspec/variant 850s ok 30 /paramspec/custom 850s ok 31 /paramspec/pool 850s # Start of variant tests 850s ok 32 /paramspec/variant/cmp 850s # End of variant tests 850s # End of paramspec tests 850s ok - glib/param.test 850s # Running test: glib/thumbnail-verification.test 850s TAP version 14 850s # random seed: R02Sc522624498c92383db4aa9c854e85047 850s 1..1 850s # Start of png-thumbs tests 850s ok 1 /png-thumbs/validity 850s # End of png-thumbs tests 850s ok - glib/thumbnail-verification.test 850s # Running test: glib/fdo-notification-backend.test 850s TAP version 14 850s # random seed: R02Sb10df4fbbdb4bc9b4d8c46261daca192 850s 1..2 850s # Start of fdo-notification-backend tests 850s # Test constructing a GFdoNotificationBackend 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 1 /fdo-notification-backend/construction 850s # Start of dbus tests 850s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s ok - glib/fdo-notification-backend.test 850s # Running test: glib/cancellable.test 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 2 /fdo-notification-backend/dbus/activate-action 850s # End of dbus tests 850s # End of fdo-notification-backend tests 850s TAP version 14 850s # random seed: R02S81adf32b76be31b1ef09ac33094e68a6 850s 1..18 850s # Start of cancellable tests 850s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 850s ok 2 /cancellable/null 850s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 850s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 850s ok 4 /cancellable/connect-to-disposing-callback 850s ok 5 /cancellable/connect-cancelled-data-is-destroyed 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 1 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 0 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 1 850s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 850s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 850s ok 7 /cancellable/connect-cancelled-to-disposing-callback 850s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 1 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 0 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 1 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 0 850s # Toggle reference callback for GCancellable (0x1c89a6004cd0), last: 1 850s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 850s # /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 850s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 850s # /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 850s ok 11 /cancellable/resets-on-cancel-callback-hangs 850s ok 12 /cancellable/poll-fd 850s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 850s ok 13 /cancellable/poll-fd-cancelled 850s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 850s ok 14 /cancellable/poll-fd-cancelled-threaded 850s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 850s ok 15 /cancellable/cancel-reset-races 850s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 850s ok 16 /cancellable/cancel-reset-connect-races 850s # End of cancellable tests 850s # Start of cancellable-source tests 850s # /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) 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 851s ok 17 /cancellable-source/threaded-dispose 851s ok - glib/cancellable.test 851s # slow test /cancellable-source/threaded-dispose executed in 0.87 secs 851s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 851s ok 18 /cancellable-source/can-be-fired-multiple-times 851s # End of cancellable-source tests 851s # Running test: glib/boxed.test 851s TAP version 14 851s # random seed: R02S4b4606a9056ef1269ade16b821d41d4a 851s 1..27 851s # Start of boxed tests 851s ok 1 /boxed/define 851s ok 2 /boxed/ownership 851s ok 3 /boxed/closure 851s ok 4 /boxed/date 851s ok 5 /boxed/value 851s ok 6 /boxed/string 851s ok 7 /boxed/hashtable 851s ok 8 /boxed/array 851s ok 9 /boxed/ptrarray 851s ok 10 /boxed/regex 851s ok 11 /boxed/varianttype 851s ok 12 /boxed/error 851s ok 13 /boxed/datetime 851s ok 14 /boxed/matchinfo 851s ok 15 /boxed/keyfile 851s ok 16 /boxed/mainloop 851s ok 17 /boxed/maincontext 851s ok 18 /boxed/source 851s ok 19 /boxed/variantbuilder 851s ok 20 /boxed/timezone 851s ok 21 /boxed/pollfd 851s ok 22 /boxed/markup 851s ok 23 /boxed/thread 851s ok 24 /boxed/checksum 851s ok 25 /boxed/tree 851s ok 26 /boxed/patternspec 851s ok 27 /boxed/rand 851s # End of boxed tests 851s ok - glib/boxed.test 851s # Running test: glib/proxy-test.test 851s TAP version 14 851s # random seed: R02S7019e311d73a345e2ddc35f302e7d25d 851s 1..11 851s # Start of proxy tests 851s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 851s ok 1 /proxy/direct_sync 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5f820 and GSocketClientAsyncConnectData 0x21b85c5ed90 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c60150 for GSocketClientAsyncConnectData 0x21b85c5ed90 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 2 /proxy/direct_async 851s ok 3 /proxy/single_sync 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fcc0 and GSocketClientAsyncConnectData 0x21b85c5ed90 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c60820 for GSocketClientAsyncConnectData 0x21b85c5ed90 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 4 /proxy/single_async 851s ok 5 /proxy/multiple_sync 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5ff50 and GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c61b80 for GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c61b20 for GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 6 /proxy/multiple_async 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 851s ok 7 /proxy/invalid-uris-sync 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fb10 and GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fcc0 and GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fb10 and GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c601b0 for GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fcc0 and GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c61db0 for GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 8 /proxy/invalid-uris-async 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5f820 and GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 851s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c623e0 and GSocketClientAsyncConnectData 0x21b85c600a0 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c61b80 for GSocketClientAsyncConnectData 0x21b85c600a0 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fb10 and GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c61db0 for GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 9 /proxy/dns 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5f820 and GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c612a0 for GSocketClientAsyncConnectData 0x21b85c5fee0 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5fb10 and GSocketClientAsyncConnectData 0x21b85c5fd80 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c612a0 for GSocketClientAsyncConnectData 0x21b85c5fd80 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x21b85c5f820 and GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x21b85c61ac0 for GSocketClientAsyncConnectData 0x21b85c61d40 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 851s ok 10 /proxy/override 851s ok 11 /proxy/enumerator-ports 851s # End of proxy tests 851s TAP version 14 851s # random seed: R02Sb165e6bd211721aaf9724c9dac6ad36a 851s 1..96 851s # Start of bookmarks tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/load-from-data-dirs/.dirs/runtime 851s ok 1 /bookmarks/load-from-data-dirs 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/to-file/.dirs/runtime 851s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_5NMX52/bookmarkfile-test-JPLX52.xbel 851s # Roundtrip from a valid bookmark file 851s ok 2 /bookmarks/to-file 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/move-item/.dirs/runtime 851s ok 3 /bookmarks/move-item 851s ok - glib/proxy-test.test 851s # Running test: glib/bookmarkfile.test 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/corner-cases/.dirs/runtime 851s ok 4 /bookmarks/corner-cases 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/misc/.dirs/runtime 851s ok 5 /bookmarks/misc 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/deprecated/.dirs/runtime 851s ok 6 /bookmarks/deprecated 851s # Start of parse tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-02.xbel/.dirs/runtime 851s ok 7 /bookmarks/parse/fail-02.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-06.xbel/.dirs/runtime 851s ok 8 /bookmarks/parse/fail-06.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-10.xbel/.dirs/runtime 851s ok 9 /bookmarks/parse/fail-10.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-01.xbel/.dirs/runtime 851s ok 10 /bookmarks/parse/fail-01.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-13.xbel/.dirs/runtime 851s ok 11 /bookmarks/parse/fail-13.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-01.xbel/.dirs/runtime 851s ok 12 /bookmarks/parse/valid-01.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-02.xbel/.dirs/runtime 851s ok 13 /bookmarks/parse/valid-02.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-07.xbel/.dirs/runtime 851s ok 14 /bookmarks/parse/fail-07.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-40.xbel/.dirs/runtime 851s ok 15 /bookmarks/parse/fail-40.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-09.xbel/.dirs/runtime 851s ok 16 /bookmarks/parse/fail-09.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-27.xbel/.dirs/runtime 851s ok 17 /bookmarks/parse/fail-27.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-32.xbel/.dirs/runtime 851s ok 18 /bookmarks/parse/fail-32.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-05.xbel/.dirs/runtime 851s ok 19 /bookmarks/parse/fail-05.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-15.xbel/.dirs/runtime 851s ok 20 /bookmarks/parse/fail-15.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-25.xbel/.dirs/runtime 851s ok 21 /bookmarks/parse/fail-25.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-41.xbel/.dirs/runtime 851s ok 22 /bookmarks/parse/fail-41.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-36.xbel/.dirs/runtime 851s ok 23 /bookmarks/parse/fail-36.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-17.xbel/.dirs/runtime 851s ok 24 /bookmarks/parse/fail-17.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-31.xbel/.dirs/runtime 851s ok 25 /bookmarks/parse/fail-31.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-24.xbel/.dirs/runtime 851s ok 26 /bookmarks/parse/fail-24.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-03.xbel/.dirs/runtime 851s ok 27 /bookmarks/parse/fail-03.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-29.xbel/.dirs/runtime 851s ok 28 /bookmarks/parse/fail-29.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-39.xbel/.dirs/runtime 851s ok 29 /bookmarks/parse/fail-39.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-04.xbel/.dirs/runtime 851s ok 30 /bookmarks/parse/fail-04.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-34.xbel/.dirs/runtime 851s ok 31 /bookmarks/parse/fail-34.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-12.xbel/.dirs/runtime 851s ok 32 /bookmarks/parse/fail-12.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/valid-03.xbel/.dirs/runtime 851s ok 33 /bookmarks/parse/valid-03.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-26.xbel/.dirs/runtime 851s ok 34 /bookmarks/parse/fail-26.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-08.xbel/.dirs/runtime 851s ok 35 /bookmarks/parse/fail-08.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-14.xbel/.dirs/runtime 851s ok 36 /bookmarks/parse/fail-14.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-42.xbel/.dirs/runtime 851s ok 37 /bookmarks/parse/fail-42.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-16.xbel/.dirs/runtime 851s ok 38 /bookmarks/parse/fail-16.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-38.xbel/.dirs/runtime 851s ok 39 /bookmarks/parse/fail-38.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-33.xbel/.dirs/runtime 851s ok 40 /bookmarks/parse/fail-33.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-30.xbel/.dirs/runtime 851s ok 41 /bookmarks/parse/fail-30.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-23.xbel/.dirs/runtime 851s ok 42 /bookmarks/parse/fail-23.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-22.xbel/.dirs/runtime 851s ok 43 /bookmarks/parse/fail-22.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-35.xbel/.dirs/runtime 851s ok 44 /bookmarks/parse/fail-35.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-28.xbel/.dirs/runtime 851s ok 45 /bookmarks/parse/fail-28.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-20.xbel/.dirs/runtime 851s ok 46 /bookmarks/parse/fail-20.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-37.xbel/.dirs/runtime 851s ok 47 /bookmarks/parse/fail-37.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-18.xbel/.dirs/runtime 851s ok 48 /bookmarks/parse/fail-18.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-19.xbel/.dirs/runtime 851s ok 49 /bookmarks/parse/fail-19.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-21.xbel/.dirs/runtime 851s ok 50 /bookmarks/parse/fail-21.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/parse/fail-11.xbel/.dirs/runtime 851s ok 51 /bookmarks/parse/fail-11.xbel 851s # End of parse tests 851s # Start of copy tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-02.xbel/.dirs/runtime 851s ok 52 /bookmarks/copy/fail-02.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-06.xbel/.dirs/runtime 851s ok 53 /bookmarks/copy/fail-06.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-10.xbel/.dirs/runtime 851s ok 54 /bookmarks/copy/fail-10.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-01.xbel/.dirs/runtime 851s ok 55 /bookmarks/copy/fail-01.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-13.xbel/.dirs/runtime 851s ok 56 /bookmarks/copy/fail-13.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-01.xbel/.dirs/runtime 851s ok 57 /bookmarks/copy/valid-01.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-02.xbel/.dirs/runtime 851s ok 58 /bookmarks/copy/valid-02.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-07.xbel/.dirs/runtime 851s ok 59 /bookmarks/copy/fail-07.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-40.xbel/.dirs/runtime 851s ok 60 /bookmarks/copy/fail-40.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-09.xbel/.dirs/runtime 851s ok 61 /bookmarks/copy/fail-09.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-27.xbel/.dirs/runtime 851s ok 62 /bookmarks/copy/fail-27.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-32.xbel/.dirs/runtime 851s ok 63 /bookmarks/copy/fail-32.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-05.xbel/.dirs/runtime 851s ok 64 /bookmarks/copy/fail-05.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-15.xbel/.dirs/runtime 851s ok 65 /bookmarks/copy/fail-15.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-25.xbel/.dirs/runtime 851s ok 66 /bookmarks/copy/fail-25.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-41.xbel/.dirs/runtime 851s ok 67 /bookmarks/copy/fail-41.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-36.xbel/.dirs/runtime 851s ok 68 /bookmarks/copy/fail-36.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-17.xbel/.dirs/runtime 851s ok 69 /bookmarks/copy/fail-17.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-31.xbel/.dirs/runtime 851s ok 70 /bookmarks/copy/fail-31.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-24.xbel/.dirs/runtime 851s ok 71 /bookmarks/copy/fail-24.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-03.xbel/.dirs/runtime 851s ok 72 /bookmarks/copy/fail-03.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-29.xbel/.dirs/runtime 851s ok 73 /bookmarks/copy/fail-29.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-39.xbel/.dirs/runtime 851s ok 74 /bookmarks/copy/fail-39.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-04.xbel/.dirs/runtime 851s ok 75 /bookmarks/copy/fail-04.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-34.xbel/.dirs/runtime 851s ok 76 /bookmarks/copy/fail-34.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-12.xbel/.dirs/runtime 851s ok 77 /bookmarks/copy/fail-12.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/valid-03.xbel/.dirs/runtime 851s ok 78 /bookmarks/copy/valid-03.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-26.xbel/.dirs/runtime 851s ok 79 /bookmarks/copy/fail-26.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-08.xbel/.dirs/runtime 851s ok 80 /bookmarks/copy/fail-08.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-14.xbel/.dirs/runtime 851s ok 81 /bookmarks/copy/fail-14.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-42.xbel/.dirs/runtime 851s ok 82 /bookmarks/copy/fail-42.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-16.xbel/.dirs/runtime 851s ok 83 /bookmarks/copy/fail-16.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-38.xbel/.dirs/runtime 851s ok 84 /bookmarks/copy/fail-38.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-33.xbel/.dirs/runtime 851s ok 85 /bookmarks/copy/fail-33.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-30.xbel/.dirs/runtime 851s ok 86 /bookmarks/copy/fail-30.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-23.xbel/.dirs/runtime 851s ok 87 /bookmarks/copy/fail-23.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-22.xbel/.dirs/runtime 851s ok 88 /bookmarks/copy/fail-22.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-35.xbel/.dirs/runtime 851s ok 89 /bookmarks/copy/fail-35.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-28.xbel/.dirs/runtime 851s ok 90 /bookmarks/copy/fail-28.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-20.xbel/.dirs/runtime 851s ok 91 /bookmarks/copy/fail-20.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-37.xbel/.dirs/runtime 851s ok 92 /bookmarks/copy/fail-37.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-18.xbel/.dirs/runtime 851s ok 93 /bookmarks/copy/fail-18.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-19.xbel/.dirs/runtime 851s ok 94 /bookmarks/copy/fail-19.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-21.xbel/.dirs/runtime 851s ok 95 /bookmarks/copy/fail-21.xbel 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5NMX52/bookmarks/copy/fail-11.xbel/.dirs/runtime 851s ok 96 /bookmarks/copy/fail-11.xbel 851s # End of copy tests 851s # End of bookmarks tests 851s TAP version 14 851s # random seed: R02S0e4053231cda3b7fbe889a443108538c 851s 1..1 851s # Start of memory-settings-backend tests 851s ok 1 /memory-settings-backend/extension-point-registered 851s # End of memory-settings-backend tests 851s TAP version 14 851s # random seed: R02S75c42da276c331ad489f60e6c4b67f11 851s 1..21 851s # Start of markup tests 851s # Start of collect tests 851s ok 1 /markup/collect/0 851s ok 2 /markup/collect/1 851s ok 3 /markup/collect/2 851s ok 4 /markup/collect/3 851s ok 5 /markup/collect/4 851s ok 6 /markup/collect/5 851s ok 7 /markup/collect/6 851s ok 8 /markup/collect/7 851s ok 9 /markup/collect/8 851s ok 10 /markup/collect/9 851s ok 11 /markup/collect/10 851s ok 12 /markup/collect/11 851s ok 13 /markup/collect/12 851s ok 14 /markup/collect/13 851s ok 15 /markup/collect/14 851s ok 16 /markup/collect/15 851s ok 17 /markup/collect/16 851s ok 18 /markup/collect/17 851s ok 19 /markup/collect/18 851s ok 20 /markup/collect/19 851s ok 21 /markup/collect/cleanup 851s # End of collect tests 851s # End of markup tests 851s TAP version 14 851s # random seed: R02S5ffffea0ca3465d0541372c80f724975 851s 1..18 851s # Start of gdbus tests 851s # Start of message-serialize tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/basic/.dirs/runtime 851s ok - glib/bookmarkfile.test 851s # Running test: glib/memory-settings-backend.test 851s ok - glib/memory-settings-backend.test 851s # Running test: glib/markup-collect.test 851s ok - glib/markup-collect.test 851s # Running test: glib/gdbus-serialization.test 851s ok 1 /gdbus/message-serialize/basic 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/complex/.dirs/runtime 851s ok 2 /gdbus/message-serialize/complex 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/invalid/.dirs/runtime 851s ok 3 /gdbus/message-serialize/invalid 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/.dirs/runtime 851s ok 4 /gdbus/message-serialize/header-checks 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/double-array/.dirs/runtime 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 851s ok 5 /gdbus/message-serialize/double-array 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/empty-structure/.dirs/runtime 851s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 851s ok 6 /gdbus/message-serialize/empty-structure 851s # Start of header-checks tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-serialize/header-checks/valid/.dirs/runtime 851s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 851s ok 7 /gdbus/message-serialize/header-checks/valid 851s # End of header-checks tests 851s # End of message-serialize tests 851s # Start of message-parse tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 851s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/non-signature-header/.dirs/runtime 851s ok 9 /gdbus/message-parse/non-signature-header 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-signature-header/.dirs/runtime 851s ok 10 /gdbus/message-parse/empty-signature-header 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/multiple-signature-header/.dirs/runtime 851s ok 11 /gdbus/message-parse/multiple-signature-header 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/over-long-signature-header/.dirs/runtime 851s ok 12 /gdbus/message-parse/over-long-signature-header 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-header-nesting/.dirs/runtime 851s ok 13 /gdbus/message-parse/deep-header-nesting 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/deep-body-nesting/.dirs/runtime 851s ok 14 /gdbus/message-parse/deep-body-nesting 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/truncated/.dirs/runtime 851s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 851s ok 15 /gdbus/message-parse/truncated 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/empty-structure/.dirs/runtime 851s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 851s ok 16 /gdbus/message-parse/empty-structure 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/missing-header/.dirs/runtime 851s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 851s ok 17 /gdbus/message-parse/missing-header 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KTGY52/gdbus/message-parse/invalid-header-type/.dirs/runtime 851s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 851s ok 18 /gdbus/message-parse/invalid-header-type 851s # End of message-parse tests 851s # End of gdbus tests 851s TAP version 14 851s # random seed: R02Sc763c6e6ae7ad5c20e3feea87adf0903 851s 1..1 851s # Start of gobject tests 851s ok 1 /gobject/basic-signals 851s # End of gobject tests 851s TAP version 14 851s # random seed: R02Scf59134ce0915aad7acfbf01d8ee6248 851s 1..1 851s # Start of gobject tests 851s ok 1 /gobject/references 851s # End of gobject tests 851s TAP version 14 851s # random seed: R02Se209df95a284bbe02565d3182de087e1 851s 1..4 851s # Start of enum tests 851s ok 1 /enum/basic 851s ok 2 /enum/define-type 851s # End of enum tests 851s # Start of flags tests 851s ok 3 /flags/basic 851s ok 4 /flags/define-type 851s # End of flags tests 851s TAP version 14 851s # random seed: R02Sa70a9e39e80ce63389ad21a6da094507 851s 1..1 851s # Start of monitor tests 851s ok - glib/gdbus-serialization.test 851s # Running test: glib/basic-signals.test 851s ok - glib/basic-signals.test 851s # Running test: glib/references.test 851s ok - glib/references.test 851s # Running test: glib/enums.test 851s ok - glib/enums.test 851s # Running test: glib/appmonitor.test 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_0JZY52/monitor/app/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_0JZY52/monitor/app/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/runtime 852s # Using data directory: /tmp/test_appmonitor_0JZY52/monitor/app/.dirs/data 852s ok 1 /monitor/app 852s # End of monitor tests 852s TAP version 14 852s # random seed: R02Sa0b6676e0d8efea38723c29cb3baec74 852s 1..4 852s # Start of refcount tests 852s ok 1 /refcount/grefcount 852s ok 2 /refcount/gatomicrefcount 852s # Start of grefcount tests 852s ok 3 /refcount/grefcount/saturation 852s # End of grefcount tests 852s # Start of gatomicrefcount tests 852s ok 4 /refcount/gatomicrefcount/saturation 852s # End of gatomicrefcount tests 852s # End of refcount tests 852s TAP version 14 852s # random seed: R02Sccead0386b6ae917db782d5b07f0725d 852s 1..10 852s # Start of timer tests 852s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 852s ok 2 /timer/stop 852s ok 3 /timer/continue 852s ok 4 /timer/reset 852s ok 5 /timer/is_active 852s # End of timer tests 852s # Start of timeval tests 852s ok 6 /timeval/add 852s ok 7 /timeval/from-iso8601 852s ok 8 /timeval/to-iso8601 852s # Start of to-iso8601 tests 852s ok 9 /timeval/to-iso8601/overflow 852s # End of to-iso8601 tests 852s # End of timeval tests 852s # Start of usleep tests 852s ok 10 /usleep/with-zero-wait 852s # End of usleep tests 852s TAP version 14 852s # random seed: R02S4e3b67e7ab664606aeaf702f06b69e54 852s 1..2 852s # Start of union-info tests 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/system-config1:/tmp/test_union-info_P2BZ52/union-info/basic/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/system-data1:/tmp/test_union-info_P2BZ52/union-info/basic/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_P2BZ52/union-info/basic/.dirs/runtime 852s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 852s # /union-info/basic summary: Test basic properties of GIUnionInfo 852s ok 1 /union-info/basic 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/system-config1:/tmp/test_union-info_P2BZ52/union-info/methods/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/system-data1:/tmp/test_union-info_P2BZ52/union-info/methods/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_P2BZ52/union-info/methods/.dirs/runtime 852s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 852s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 852s ok 2 /union-info/methods 852s # End of union-info tests 852s TAP version 14 852s # random seed: R02S23dff4d540bbc7ebc7293dfc77f99e24 852s # GLib-DEBUG: Current user locale: C.UTF-8 852s 1..6 852s # Start of search tests 852s # GLib-DEBUG: Started 852s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 852s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 852s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 852s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 852s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 852s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 852s ok 1 /search/basic 852s # GLib-DEBUG: Started 852s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 852s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 852s # GLib-DEBUG: 'ele' - 'élève' should match: OK 852s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 852s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 852s ok 2 /search/composed 852s # GLib-DEBUG: Started 852s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 852s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 852s ok 3 /search/decomposed 852s # GLib-DEBUG: Started 852s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 852s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 852s ok 4 /search/turkish 852s # GLib-DEBUG: Started 852s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 852s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 852s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 852s ok 5 /search/c_locale_unicode 852s # GLib-DEBUG: Started 852s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 852s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 852s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 852s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 852s ok 6 /search/multi_words 852s # End of search tests 852s TAP version 14 852s # random seed: R02S4bddd0ebedff5c7cf2eab4127b672cdd 852s 1..3 852s # Start of utf8 tests 852s ok - glib/appmonitor.test 852s # Running test: glib/refcount-macro.test 852s ok - glib/refcount-macro.test 852s # Running test: glib/timer.test 852s ok - glib/timer.test 852s # Running test: glib/union-info.test 852s ok - glib/union-info.test 852s # Running test: glib/search-utils.test 852s ok - glib/search-utils.test 852s # Running test: glib/utf8-pointer.test 852s # Executing: glib/utf8-pointer.test 852s ok 1 /utf8/offsets 852s # slow test /utf8/offsets executed in 0.79 secs 852s ok 2 /utf8/lengths 852s ok 3 /utf8/find 852s # End of utf8 tests 852s ok - glib/utf8-pointer.test 852s # Running test: glib/testing-nonfatal.test 852s TAP version 14 852s # random seed: R02S3c3a5f6751898c0d0501eb5fc9e163f4 852s ** 852s 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?") 852s # 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?") 852s ok - glib/testing-nonfatal.test 852s # Running test: glib/null-settings-backend.test 852s TAP version 14 852s # random seed: R02S350a14a866bf6832ebcaa4d52c69772d 852s 1..1 852s # Start of null-settings-backend tests 852s ok 1 /null-settings-backend/extension-point-registered 852s # End of null-settings-backend tests 852s ok - glib/null-settings-backend.test 852s # Running test: glib/memchunk.test 852s TAP version 14 852s # random seed: R02S2c8fb9bd2fe6448139b8f453afbd21e1 852s 1..1 852s # Start of memchunk tests 852s ok 1 /memchunk/basic 852s # End of memchunk tests 852s ok - glib/memchunk.test 852s # Running test: glib/contenttype.test 852s TAP version 14 852s # random seed: R02S09b3027d85f032d90f071e469e0b0984 852s 1..14 852s # Start of contenttype tests 852s ok 1 /contenttype/guess 852s ok 2 /contenttype/guess_svg_from_data 852s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 852s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 852s ok 5 /contenttype/unknown 852s ok 6 /contenttype/subtype 852s ok 7 /contenttype/list 852s ok 8 /contenttype/executable 852s ok 9 /contenttype/description 852s ok 10 /contenttype/icon 852s ok 11 /contenttype/symbolic-icon 852s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 852s ok 12 /contenttype/tree 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 852s ok 13 /contenttype/tree_invalid_encoding 852s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 852s ok 14 /contenttype/test_type_is_a_special_case 852s # End of contenttype tests 852s ok - glib/contenttype.test 852s # Running test: glib/mkenums.py.test 852s TAP version 13 852s ok 1 __main__.TestMkenums.test_available_in 852s # glib-mkenums: /usr/bin/glib-mkenums 852s # tmpdir: /tmp/tmpsm7ya4xn 852s # rspfile: False 852s # /tmp/tmpsm7ya4xn/tmpe2doc038.h: 852s # typedef enum { 852s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 852s # } GDBusServerFlags; 852s # 852s # /tmp/tmpsm7ya4xn/tmpvgrnndrj.template: 852s # /*** BEGIN file-header ***/ 852s # file-header 852s # /*** END file-header ***/ 852s # 852s # /*** BEGIN file-production ***/ 852s # file-production 852s # filename: @filename@ 852s # basename: @basename@ 852s # /*** END file-production ***/ 852s # 852s # /*** BEGIN enumeration-production ***/ 852s # enumeration-production 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END enumeration-production ***/ 852s # 852s # /*** BEGIN value-header ***/ 852s # value-header 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-header ***/ 852s # 852s # /*** BEGIN value-production ***/ 852s # value-production 852s # VALUENAME: @VALUENAME@ 852s # valuenick: @valuenick@ 852s # valuenum: @valuenum@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-production ***/ 852s # 852s # /*** BEGIN value-tail ***/ 852s # value-tail 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-tail ***/ 852s # 852s # /*** BEGIN comment ***/ 852s # comment 852s # comment: @comment@ 852s # /*** END comment ***/ 852s # 852s # /*** BEGIN file-tail ***/ 852s # file-tail 852s # /*** END file-tail ***/ 852s # 852s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsm7ya4xn/tmpvgrnndrj.template', '/tmp/tmpsm7ya4xn/tmpe2doc038.h'] 852s # Return code: 0 852s # Output: 852s # comment 852s # 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. 852s # 852s # 852s # file-header 852s # file-production 852s # filename: /tmp/tmpsm7ya4xn/tmpe2doc038.h 852s # basename: tmpe2doc038.h 852s # enumeration-production 852s # EnumName: GDBusServerFlags 852s # enum_name: g_dbus_server_flags 852s # ENUMNAME: G_DBUS_SERVER_FLAGS 852s # ENUMSHORT: DBUS_SERVER_FLAGS 852s # ENUMPREFIX: G 852s # enumsince: 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # value-header 852s # EnumName: GDBusServerFlags 852s # enum_name: g_dbus_server_flags 852s # ENUMNAME: G_DBUS_SERVER_FLAGS 852s # ENUMSHORT: DBUS_SERVER_FLAGS 852s # ENUMPREFIX: G 852s # enumsince: 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # value-production 852s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 852s # valuenick: user 852s # valuenum: 4 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # value-tail 852s # EnumName: GDBusServerFlags 852s # enum_name: g_dbus_server_flags 852s # ENUMNAME: G_DBUS_SERVER_FLAGS 852s # ENUMSHORT: DBUS_SERVER_FLAGS 852s # ENUMPREFIX: G 852s # enumsince: 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # file-tail 852s # 852s # comment 852s # comment: Generated data ends here 852s # Error: 852s ok 2 __main__.TestMkenums.test_comma_in_enum_value 852s # glib-mkenums: /usr/bin/glib-mkenums 852s # tmpdir: /tmp/tmp_cqtpq6l 852s # rspfile: False 852s # /tmp/tmp_cqtpq6l/tmpodirjq0p.h: 852s # typedef enum { 852s # ENUM_VALUE_WITH_COMMA = ',', 852s # } TestCommaEnum; 852s # 852s # /tmp/tmp_cqtpq6l/tmpb0gooznl.template: 852s # /*** BEGIN file-header ***/ 852s # file-header 852s # /*** END file-header ***/ 852s # 852s # /*** BEGIN file-production ***/ 852s # file-production 852s # filename: @filename@ 852s # basename: @basename@ 852s # /*** END file-production ***/ 852s # 852s # /*** BEGIN enumeration-production ***/ 852s # enumeration-production 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END enumeration-production ***/ 852s # 852s # /*** BEGIN value-header ***/ 852s # value-header 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-header ***/ 852s # 852s # /*** BEGIN value-production ***/ 852s # value-production 852s # VALUENAME: @VALUENAME@ 852s # valuenick: @valuenick@ 852s # valuenum: @valuenum@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-production ***/ 852s # 852s # /*** BEGIN value-tail ***/ 852s # value-tail 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-tail ***/ 852s # 852s # /*** BEGIN comment ***/ 852s # comment 852s # comment: @comment@ 852s # /*** END comment ***/ 852s # 852s # /*** BEGIN file-tail ***/ 852s # file-tail 852s # /*** END file-tail ***/ 852s # 852s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_cqtpq6l/tmpb0gooznl.template', '/tmp/tmp_cqtpq6l/tmpodirjq0p.h'] 852s # Return code: 0 852s # Output: 852s # comment 852s # 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. 852s # 852s # 852s # file-header 852s # file-production 852s # filename: /tmp/tmp_cqtpq6l/tmpodirjq0p.h 852s # basename: tmpodirjq0p.h 852s # enumeration-production 852s # EnumName: TestCommaEnum 852s # enum_name: test_comma_enum 852s # ENUMNAME: TEST_COMMA_ENUM 852s # ENUMSHORT: COMMA_ENUM 852s # ENUMPREFIX: TEST 852s # enumsince: 852s # type: enum 852s # Type: Enum 852s # TYPE: ENUM 852s # value-header 852s # EnumName: TestCommaEnum 852s # enum_name: test_comma_enum 852s # ENUMNAME: TEST_COMMA_ENUM 852s # ENUMSHORT: COMMA_ENUM 852s # ENUMPREFIX: TEST 852s # enumsince: 852s # type: enum 852s # Type: Enum 852s # TYPE: ENUM 852s # value-production 852s # VALUENAME: ENUM_VALUE_WITH_COMMA 852s # valuenick: comma 852s # valuenum: 44 852s # type: enum 852s # Type: Enum 852s # TYPE: ENUM 852s # value-tail 852s # EnumName: TestCommaEnum 852s # enum_name: test_comma_enum 852s # ENUMNAME: TEST_COMMA_ENUM 852s # ENUMSHORT: COMMA_ENUM 852s # ENUMPREFIX: TEST 852s # enumsince: 852s # type: enum 852s # Type: Enum 852s # TYPE: ENUM 852s # file-tail 852s # 852s # comment 852s # comment: Generated data ends here 852s # Error: 852s ok 3 __main__.TestMkenums.test_deprecated_in 852s # glib-mkenums: /usr/bin/glib-mkenums 852s # tmpdir: /tmp/tmp0nusagcb 852s # rspfile: False 852s # /tmp/tmp0nusagcb/tmpdfl1uves.h: 852s # typedef enum { 852s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 852s # } GDBusServerFlags; 852s # 852s # /tmp/tmp0nusagcb/tmp1iph1h9_.template: 852s # /*** BEGIN file-header ***/ 852s # file-header 852s # /*** END file-header ***/ 852s # 852s # /*** BEGIN file-production ***/ 852s # file-production 852s # filename: @filename@ 852s # basename: @basename@ 852s # /*** END file-production ***/ 852s # 852s # /*** BEGIN enumeration-production ***/ 852s # enumeration-production 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END enumeration-production ***/ 852s # 852s # /*** BEGIN value-header ***/ 852s # value-header 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-header ***/ 852s # 852s # /*** BEGIN value-production ***/ 852s # value-production 852s # VALUENAME: @VALUENAME@ 852s # valuenick: @valuenick@ 852s # valuenum: @valuenum@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-production ***/ 852s # 852s # /*** BEGIN value-tail ***/ 852s # value-tail 852s # EnumName: @EnumName@ 852s # enum_name: @enum_name@ 852s # ENUMNAME: @ENUMNAME@ 852s # ENUMSHORT: @ENUMSHORT@ 852s # ENUMPREFIX: @ENUMPREFIX@ 852s # enumsince: @enumsince@ 852s # type: @type@ 852s # Type: @Type@ 852s # TYPE: @TYPE@ 852s # /*** END value-tail ***/ 852s # 852s # /*** BEGIN comment ***/ 852s # comment 852s # comment: @comment@ 852s # /*** END comment ***/ 852s # 852s # /*** BEGIN file-tail ***/ 852s # file-tail 852s # /*** END file-tail ***/ 852s # 852s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0nusagcb/tmp1iph1h9_.template', '/tmp/tmp0nusagcb/tmpdfl1uves.h'] 852s # Return code: 0 852s # Output: 852s # comment 852s # 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. 852s # 852s # 852s # file-header 852s # file-production 852s # filename: /tmp/tmp0nusagcb/tmpdfl1uves.h 852s # basename: tmpdfl1uves.h 852s # enumeration-production 852s # EnumName: GDBusServerFlags 852s # enum_name: g_dbus_server_flags 852s # ENUMNAME: G_DBUS_SERVER_FLAGS 852s # ENUMSHORT: DBUS_SERVER_FLAGS 852s # ENUMPREFIX: G 852s # enumsince: 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # value-header 852s # EnumName: GDBusServerFlags 852s # enum_name: g_dbus_server_flags 852s # ENUMNAME: G_DBUS_SERVER_FLAGS 852s # ENUMSHORT: DBUS_SERVER_FLAGS 852s # ENUMPREFIX: G 852s # enumsince: 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # value-production 852s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 852s # valuenick: user 852s # valuenum: 4 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # value-tail 852s # EnumName: GDBusServerFlags 852s # enum_name: g_dbus_server_flags 852s # ENUMNAME: G_DBUS_SERVER_FLAGS 852s # ENUMSHORT: DBUS_SERVER_FLAGS 852s # ENUMPREFIX: G 852s # enumsince: 852s # type: flags 852s # Type: Flags 852s # TYPE: FLAGS 852s # file-tail 852s # 852s # comment 852s # comment: Generated data ends here 852s # Error: 853s ok 4 __main__.TestMkenums.test_deprecated_in_for 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmp0l_kknhx 853s # rspfile: False 853s # /tmp/tmp0l_kknhx/tmplhv4ly0j.h: 853s # typedef enum { 853s # 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) 853s # } GDBusServerFlags; 853s # 853s # /tmp/tmp0l_kknhx/tmp4rfzy4it.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0l_kknhx/tmp4rfzy4it.template', '/tmp/tmp0l_kknhx/tmplhv4ly0j.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmp0l_kknhx/tmplhv4ly0j.h 853s # basename: tmplhv4ly0j.h 853s # enumeration-production 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-header 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-production 853s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 853s # valuenick: user 853s # valuenum: 4 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-tail 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 5 __main__.TestMkenums.test_empty_header 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmp5vamgouh 853s # rspfile: False 853s # /tmp/tmp5vamgouh/tmp5lf75cr3.h: 853s # /tmp/tmp5vamgouh/tmpx_t6v163.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5vamgouh/tmpx_t6v163.template', '/tmp/tmp5vamgouh/tmp5lf75cr3.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 6 __main__.TestMkenums.test_empty_template 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpuopqw2xk 853s # rspfile: False 853s # /tmp/tmpuopqw2xk/tmpl13dxh8d.template: 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuopqw2xk/tmpl13dxh8d.template'] 853s # Return code: 0 853s # Output: 853s # /* 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. */ 853s # 853s # 853s # /* Generated data ends here */ 853s # Error: 853s ok 7 __main__.TestMkenums.test_enum_name 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpp39mn8je 853s # rspfile: False 853s # /tmp/tmpp39mn8je/tmpm26e5gkb.h: 853s # typedef enum _SomeEnumIdentifier { 853s # ENUM_VALUE 853s # } SomeEnumIdentifier; 853s # 853s # /tmp/tmpp39mn8je/tmpyyfr14e2.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp39mn8je/tmpyyfr14e2.template', '/tmp/tmpp39mn8je/tmpm26e5gkb.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpp39mn8je/tmpm26e5gkb.h 853s # basename: tmpm26e5gkb.h 853s # enumeration-production 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE 853s # valuenick: value 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 8 __main__.TestMkenums.test_enum_private_public 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpv89slth2 853s # rspfile: False 853s # /tmp/tmpv89slth2/tmpoi1l8e6w.h: 853s # typedef enum { 853s # ENUM_VALUE_PUBLIC1, 853s # /*< private >*/ 853s # ENUM_VALUE_PRIVATE, 853s # } SomeEnumA 853s # 853s # /tmp/tmpv89slth2/tmp6kllq6p9.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv89slth2/tmp6kllq6p9.template', '/tmp/tmpv89slth2/tmpoi1l8e6w.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpv89slth2/tmpoi1l8e6w.h 853s # basename: tmpoi1l8e6w.h 853s # enumeration-production 853s # EnumName: SomeEnumA 853s # enum_name: some_enum_a 853s # ENUMNAME: SOME_ENUM_A 853s # ENUMSHORT: ENUM_A 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: SomeEnumA 853s # enum_name: some_enum_a 853s # ENUMNAME: SOME_ENUM_A 853s # ENUMSHORT: ENUM_A 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE_PUBLIC1 853s # valuenick: public1 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: SomeEnumA 853s # enum_name: some_enum_a 853s # ENUMNAME: SOME_ENUM_A 853s # ENUMSHORT: ENUM_A 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s # 853s # /tmp/tmpv89slth2/tmp52sq2xkw.h: 853s # typedef enum { 853s # /*< private >*/ 853s # ENUM_VALUE_PRIVATE, 853s # /*< public >*/ 853s # ENUM_VALUE_PUBLIC2, 853s # } SomeEnumB; 853s # 853s # /tmp/tmpv89slth2/tmphfif1fj2.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv89slth2/tmphfif1fj2.template', '/tmp/tmpv89slth2/tmp52sq2xkw.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpv89slth2/tmp52sq2xkw.h 853s # basename: tmp52sq2xkw.h 853s # enumeration-production 853s # EnumName: SomeEnumB 853s # enum_name: some_enum_b 853s # ENUMNAME: SOME_ENUM_B 853s # ENUMSHORT: ENUM_B 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: SomeEnumB 853s # enum_name: some_enum_b 853s # ENUMNAME: SOME_ENUM_B 853s # ENUMSHORT: ENUM_B 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE_PUBLIC2 853s # valuenick: public2 853s # valuenum: 1 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: SomeEnumB 853s # enum_name: some_enum_b 853s # ENUMNAME: SOME_ENUM_B 853s # ENUMSHORT: ENUM_B 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpacqsmyys 853s # rspfile: False 853s # /tmp/tmpacqsmyys/tmpuhwfok_b.h: 853s # typedef enum { 853s # /*< private >*/ 853s # ENUM_VALUE_PRIVATE = 5, 853s # /*< public >*/ 853s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 853s # } TestSymbolicEnum; 853s # 853s # /tmp/tmpacqsmyys/tmpjhk0moza.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpacqsmyys/tmpjhk0moza.template', '/tmp/tmpacqsmyys/tmpuhwfok_b.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpacqsmyys/tmpuhwfok_b.h 853s # basename: tmpuhwfok_b.h 853s # enumeration-production 853s # EnumName: TestSymbolicEnum 853s # enum_name: test_symbolic_enum 853s # ENUMNAME: TEST_SYMBOLIC_ENUM 853s # ENUMSHORT: SYMBOLIC_ENUM 853s # ENUMPREFIX: TEST 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: TestSymbolicEnum 853s # enum_name: test_symbolic_enum 853s # ENUMNAME: TEST_SYMBOLIC_ENUM 853s # ENUMSHORT: SYMBOLIC_ENUM 853s # ENUMPREFIX: TEST 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE_PUBLIC 853s # valuenick: public 853s # valuenum: 7 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: TestSymbolicEnum 853s # enum_name: test_symbolic_enum 853s # ENUMNAME: TEST_SYMBOLIC_ENUM 853s # ENUMSHORT: SYMBOLIC_ENUM 853s # ENUMPREFIX: TEST 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpchl2_txr 853s # rspfile: False 853s # /tmp/tmpchl2_txr/tmpa9k2a00j.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-tail ***/ 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpchl2_txr/tmpa9k2a00j.template'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # filename: @filename@ 853s # basename: @basename@ 853s # file-tail 853s # filename: @filename@ 853s # basename: @basename@ 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s # WARNING: @filename@ used in file-header section. 853s # WARNING: @basename@ used in file-header section. 853s # WARNING: @filename@ used in file-tail section. 853s # WARNING: @basename@ used in file-tail section. 853s ok 11 __main__.TestMkenums.test_help 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpgspi7opr 853s # rspfile: False 853s # Running: ['/usr/bin/glib-mkenums', '--help'] 853s # Return code: 0 853s # Output: 853s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 853s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 853s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 853s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 853s # [--comments COMMENT_TMPL] [--template TEMPLATE] 853s # [--output OUTPUT] [--version] 853s # [args ...] 853s # 853s # positional arguments: 853s # args One or more input files, or a single argument 853s # @rspfile_path pointing to a file that contains the 853s # actual arguments 853s # 853s # options: 853s # -h, --help show this help message and exit 853s # --identifier-prefix IDPREFIX 853s # Identifier prefix 853s # --symbol-prefix SYMPREFIX 853s # Symbol prefix 853s # --fhead FHEAD Output file header 853s # --ftail FTAIL Output file footer 853s # --fprod FPROD Put out TEXT every time a new input file is being 853s # processed. 853s # --eprod EPROD Per enum text, produced prior to value iterations 853s # --vhead VHEAD Value header, produced before iterating over enum 853s # values 853s # --vprod VPROD Value text, produced for each enum value. 853s # --vtail VTAIL Value tail, produced after iterating over enum values 853s # --comments COMMENT_TMPL 853s # Comment structure 853s # --template TEMPLATE Template file 853s # --output OUTPUT 853s # --version, -v Print version information 853s # 853s # Production text substitutions: 853s # @EnumName@ PrefixTheXEnum 853s # @enum_name@ prefix_the_xenum 853s # @ENUMNAME@ PREFIX_THE_XENUM 853s # @ENUMSHORT@ THE_XENUM 853s # @ENUMPREFIX@ PREFIX 853s # @enumsince@ the user-provided since value given 853s # @VALUENAME@ PREFIX_THE_XVALUE 853s # @valuenick@ the-xvalue 853s # @valuenum@ the integer value (limited support, Since: 2.26) 853s # @type@ either enum or flags 853s # @Type@ either Enum or Flags 853s # @TYPE@ either ENUM or FLAGS 853s # @filename@ name of current input file 853s # @basename@ base name of the current input file (Since: 2.22) 853s # Error: 853s ok 12 __main__.TestMkenums.test_no_args 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpnd_kkj3s 853s # rspfile: False 853s # Running: ['/usr/bin/glib-mkenums'] 853s # Return code: 0 853s # Output: 853s # /* 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. */ 853s # 853s # 853s # /* Generated data ends here */ 853s # Error: 853s ok 13 __main__.TestMkenums.test_no_headers 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpmjtzm_f0 853s # rspfile: False 853s # /tmp/tmpmjtzm_f0/tmpwg9qrgdb.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmjtzm_f0/tmpwg9qrgdb.template'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 14 __main__.TestMkenums.test_no_nick 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpbw1lifgr 853s # rspfile: False 853s # /tmp/tmpbw1lifgr/tmpt3v2ddrl.h: 853s # typedef enum { 853s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 853s # } GeglSamplerType; 853s # 853s # /tmp/tmpbw1lifgr/tmpqvxsrzw8.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbw1lifgr/tmpqvxsrzw8.template', '/tmp/tmpbw1lifgr/tmpt3v2ddrl.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpbw1lifgr/tmpt3v2ddrl.h 853s # basename: tmpt3v2ddrl.h 853s # enumeration-production 853s # EnumName: GeglSamplerType 853s # enum_name: gegl_sampler_type 853s # ENUMNAME: GEGL_SAMPLER_TYPE 853s # ENUMSHORT: SAMPLER_TYPE 853s # ENUMPREFIX: GEGL 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: GeglSamplerType 853s # enum_name: gegl_sampler_type 853s # ENUMNAME: GEGL_SAMPLER_TYPE 853s # ENUMSHORT: SAMPLER_TYPE 853s # ENUMPREFIX: GEGL 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: GEGL_SAMPLER_NEAREST 853s # valuenick: nearest 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: GeglSamplerType 853s # enum_name: gegl_sampler_type 853s # ENUMNAME: GEGL_SAMPLER_TYPE 853s # ENUMSHORT: SAMPLER_TYPE 853s # ENUMPREFIX: GEGL 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 15 __main__.TestMkenums.test_non_utf8_encoding 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpq0nmtkkm 853s # rspfile: False 853s # /tmp/tmpq0nmtkkm/tmp_fpxl_ho.h: 853s # /* Copyright © La Peña */ 853s # typedef enum { 853s # ENUM_VALUE 853s # } SomeEnumIdentifier; 853s # 853s # /tmp/tmpq0nmtkkm/tmp8iro_yaf.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq0nmtkkm/tmp8iro_yaf.template', '/tmp/tmpq0nmtkkm/tmp_fpxl_ho.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpq0nmtkkm/tmp_fpxl_ho.h 853s # basename: tmp_fpxl_ho.h 853s # enumeration-production 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE 853s # valuenick: value 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 853s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 853s ok 16 __main__.TestMkenums.test_reproducible 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpi_6527rf 853s # rspfile: False 853s # /tmp/tmpi_6527rf/tmpto59cpwy.template: template 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi_6527rf/tmpto59cpwy.template', '/tmp/tmpi_6527rf/tmp0wgbr5l61.h', '/tmp/tmpi_6527rf/tmprwpb4liw2.h'] 853s # Return code: 0 853s # Output: 853s # /* 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. */ 853s # 853s # 853s # /* Generated data ends here */ 853s # Error: 853s # 853s # /tmp/tmpi_6527rf/tmpo538kzkg.template: template 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi_6527rf/tmpo538kzkg.template', '/tmp/tmpi_6527rf/tmprwpb4liw2.h', '/tmp/tmpi_6527rf/tmp0wgbr5l61.h'] 853s # Return code: 0 853s # Output: 853s # /* 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. */ 853s # 853s # 853s # /* Generated data ends here */ 853s # Error: 853s ok 17 __main__.TestMkenums.test_since 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpderl6fcn 853s # rspfile: False 853s # /tmp/tmpderl6fcn/tmpxj76tq7v.h: 853s # typedef enum { /*< since=1.0 >*/ 853s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 853s # } QmiWmsMessageProtocol; 853s # 853s # /tmp/tmpderl6fcn/tmp7dtquuyr.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpderl6fcn/tmp7dtquuyr.template', '/tmp/tmpderl6fcn/tmpxj76tq7v.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpderl6fcn/tmpxj76tq7v.h 853s # basename: tmpxj76tq7v.h 853s # enumeration-production 853s # EnumName: QmiWmsMessageProtocol 853s # enum_name: qmi_wms_message_protocol 853s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 853s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 853s # ENUMPREFIX: QMI 853s # enumsince: 1.0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: QmiWmsMessageProtocol 853s # enum_name: qmi_wms_message_protocol 853s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 853s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 853s # ENUMPREFIX: QMI 853s # enumsince: 1.0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 853s # valuenick: cdma 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: QmiWmsMessageProtocol 853s # enum_name: qmi_wms_message_protocol 853s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 853s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 853s # ENUMPREFIX: QMI 853s # enumsince: 1.0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 18 __main__.TestMkenums.test_with_double_quotes 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpmtz4yot9 853s # rspfile: False 853s # /tmp/tmpmtz4yot9/tmp_1ia2gm8.h: 853s # typedef enum { 853s # FOO_VALUE /*< nick="eek, a comma" >*/ 853s # } Foo; 853s # 853s # /tmp/tmpmtz4yot9/tmpthcbz836.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmtz4yot9/tmpthcbz836.template', '/tmp/tmpmtz4yot9/tmp_1ia2gm8.h'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpmtz4yot9/tmp_1ia2gm8.h 853s # basename: tmp_1ia2gm8.h 853s # enumeration-production 853s # EnumName: Foo 853s # enum_name: foo_ 853s # ENUMNAME: FOO_ 853s # ENUMSHORT: 853s # ENUMPREFIX: FOO 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: Foo 853s # enum_name: foo_ 853s # ENUMNAME: FOO_ 853s # ENUMSHORT: 853s # ENUMPREFIX: FOO 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: FOO_VALUE 853s # valuenick: eek, a comma 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: Foo 853s # enum_name: foo_ 853s # ENUMNAME: FOO_ 853s # ENUMSHORT: 853s # ENUMPREFIX: FOO 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 19 __main__.TestRspMkenums.test_available_in 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpmll3mpsd 853s # rspfile: True 853s # /tmp/tmpmll3mpsd/tmp9nmwqxii.h: 853s # typedef enum { 853s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 853s # } GDBusServerFlags; 853s # 853s # /tmp/tmpmll3mpsd/tmpx9vwiz0z.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Response file contains: --template /tmp/tmpmll3mpsd/tmpx9vwiz0z.template /tmp/tmpmll3mpsd/tmp9nmwqxii.h 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmll3mpsd/tmpnndf4orp'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpmll3mpsd/tmp9nmwqxii.h 853s # basename: tmp9nmwqxii.h 853s # enumeration-production 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-header 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-production 853s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 853s # valuenick: user 853s # valuenum: 4 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-tail 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpr414onyp 853s # rspfile: True 853s # /tmp/tmpr414onyp/tmp_i1fmyvr.h: 853s # typedef enum { 853s # ENUM_VALUE_WITH_COMMA = ',', 853s # } TestCommaEnum; 853s # 853s # /tmp/tmpr414onyp/tmps19c2xod.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Response file contains: --template /tmp/tmpr414onyp/tmps19c2xod.template /tmp/tmpr414onyp/tmp_i1fmyvr.h 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr414onyp/tmp1tr_huhd'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpr414onyp/tmp_i1fmyvr.h 853s # basename: tmp_i1fmyvr.h 853s # enumeration-production 853s # EnumName: TestCommaEnum 853s # enum_name: test_comma_enum 853s # ENUMNAME: TEST_COMMA_ENUM 853s # ENUMSHORT: COMMA_ENUM 853s # ENUMPREFIX: TEST 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: TestCommaEnum 853s # enum_name: test_comma_enum 853s # ENUMNAME: TEST_COMMA_ENUM 853s # ENUMSHORT: COMMA_ENUM 853s # ENUMPREFIX: TEST 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE_WITH_COMMA 853s # valuenick: comma 853s # valuenum: 44 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: TestCommaEnum 853s # enum_name: test_comma_enum 853s # ENUMNAME: TEST_COMMA_ENUM 853s # ENUMSHORT: COMMA_ENUM 853s # ENUMPREFIX: TEST 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 21 __main__.TestRspMkenums.test_deprecated_in 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpwwed0gsw 853s # rspfile: True 853s # /tmp/tmpwwed0gsw/tmpu5_3tjq9.h: 853s # typedef enum { 853s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 853s # } GDBusServerFlags; 853s # 853s # /tmp/tmpwwed0gsw/tmpauc4yfbg.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Response file contains: --template /tmp/tmpwwed0gsw/tmpauc4yfbg.template /tmp/tmpwwed0gsw/tmpu5_3tjq9.h 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwwed0gsw/tmpxh1ishcf'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmpwwed0gsw/tmpu5_3tjq9.h 853s # basename: tmpu5_3tjq9.h 853s # enumeration-production 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-header 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-production 853s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 853s # valuenick: user 853s # valuenum: 4 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-tail 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmp6g1n4via 853s # rspfile: True 853s # /tmp/tmp6g1n4via/tmplp_dyu4w.h: 853s # typedef enum { 853s # 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) 853s # } GDBusServerFlags; 853s # 853s # /tmp/tmp6g1n4via/tmpzu7ttqki.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Response file contains: --template /tmp/tmp6g1n4via/tmpzu7ttqki.template /tmp/tmp6g1n4via/tmplp_dyu4w.h 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6g1n4via/tmphilw7h3d'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmp6g1n4via/tmplp_dyu4w.h 853s # basename: tmplp_dyu4w.h 853s # enumeration-production 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-header 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-production 853s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 853s # valuenick: user 853s # valuenum: 4 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # value-tail 853s # EnumName: GDBusServerFlags 853s # enum_name: g_dbus_server_flags 853s # ENUMNAME: G_DBUS_SERVER_FLAGS 853s # ENUMSHORT: DBUS_SERVER_FLAGS 853s # ENUMPREFIX: G 853s # enumsince: 853s # type: flags 853s # Type: Flags 853s # TYPE: FLAGS 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 23 __main__.TestRspMkenums.test_empty_header 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpr8fivp4r 853s # rspfile: True 853s # /tmp/tmpr8fivp4r/tmpxbabwiwk.h: 853s # /tmp/tmpr8fivp4r/tmp2hncgz0a.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Response file contains: --template /tmp/tmpr8fivp4r/tmp2hncgz0a.template /tmp/tmpr8fivp4r/tmpxbabwiwk.h 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr8fivp4r/tmpebpj2_22'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 853s ok 24 __main__.TestRspMkenums.test_empty_template 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmpctm277b4 853s # rspfile: True 853s # /tmp/tmpctm277b4/tmpb88mv51z.template: 853s # Response file contains: --template /tmp/tmpctm277b4/tmpb88mv51z.template 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpctm277b4/tmpyizp01f3'] 853s # Return code: 0 853s # Output: 853s # /* 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. */ 853s # 853s # 853s # /* Generated data ends here */ 853s # Error: 853s ok 25 __main__.TestRspMkenums.test_enum_name 853s # glib-mkenums: /usr/bin/glib-mkenums 853s # tmpdir: /tmp/tmp2a8q8a6n 853s # rspfile: True 853s # /tmp/tmp2a8q8a6n/tmpzv0kpu55.h: 853s # typedef enum _SomeEnumIdentifier { 853s # ENUM_VALUE 853s # } SomeEnumIdentifier; 853s # 853s # /tmp/tmp2a8q8a6n/tmp69pr421i.template: 853s # /*** BEGIN file-header ***/ 853s # file-header 853s # /*** END file-header ***/ 853s # 853s # /*** BEGIN file-production ***/ 853s # file-production 853s # filename: @filename@ 853s # basename: @basename@ 853s # /*** END file-production ***/ 853s # 853s # /*** BEGIN enumeration-production ***/ 853s # enumeration-production 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END enumeration-production ***/ 853s # 853s # /*** BEGIN value-header ***/ 853s # value-header 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-header ***/ 853s # 853s # /*** BEGIN value-production ***/ 853s # value-production 853s # VALUENAME: @VALUENAME@ 853s # valuenick: @valuenick@ 853s # valuenum: @valuenum@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-production ***/ 853s # 853s # /*** BEGIN value-tail ***/ 853s # value-tail 853s # EnumName: @EnumName@ 853s # enum_name: @enum_name@ 853s # ENUMNAME: @ENUMNAME@ 853s # ENUMSHORT: @ENUMSHORT@ 853s # ENUMPREFIX: @ENUMPREFIX@ 853s # enumsince: @enumsince@ 853s # type: @type@ 853s # Type: @Type@ 853s # TYPE: @TYPE@ 853s # /*** END value-tail ***/ 853s # 853s # /*** BEGIN comment ***/ 853s # comment 853s # comment: @comment@ 853s # /*** END comment ***/ 853s # 853s # /*** BEGIN file-tail ***/ 853s # file-tail 853s # /*** END file-tail ***/ 853s # 853s # Response file contains: --template /tmp/tmp2a8q8a6n/tmp69pr421i.template /tmp/tmp2a8q8a6n/tmpzv0kpu55.h 853s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2a8q8a6n/tmpk21m7qfp'] 853s # Return code: 0 853s # Output: 853s # comment 853s # 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. 853s # 853s # 853s # file-header 853s # file-production 853s # filename: /tmp/tmp2a8q8a6n/tmpzv0kpu55.h 853s # basename: tmpzv0kpu55.h 853s # enumeration-production 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-header 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-production 853s # VALUENAME: ENUM_VALUE 853s # valuenick: value 853s # valuenum: 0 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # value-tail 853s # EnumName: SomeEnumIdentifier 853s # enum_name: some_enum_identifier 853s # ENUMNAME: SOME_ENUM_IDENTIFIER 853s # ENUMSHORT: ENUM_IDENTIFIER 853s # ENUMPREFIX: SOME 853s # enumsince: 853s # type: enum 853s # Type: Enum 853s # TYPE: ENUM 853s # file-tail 853s # 853s # comment 853s # comment: Generated data ends here 853s # Error: 854s ok 26 __main__.TestRspMkenums.test_enum_private_public 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpv2xu5td4 854s # rspfile: True 854s # /tmp/tmpv2xu5td4/tmpkt6ehhtg.h: 854s # typedef enum { 854s # ENUM_VALUE_PUBLIC1, 854s # /*< private >*/ 854s # ENUM_VALUE_PRIVATE, 854s # } SomeEnumA 854s # 854s # /tmp/tmpv2xu5td4/tmpz331lvkd.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmpv2xu5td4/tmpz331lvkd.template /tmp/tmpv2xu5td4/tmpkt6ehhtg.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv2xu5td4/tmp3alqvlud'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmpv2xu5td4/tmpkt6ehhtg.h 854s # basename: tmpkt6ehhtg.h 854s # enumeration-production 854s # EnumName: SomeEnumA 854s # enum_name: some_enum_a 854s # ENUMNAME: SOME_ENUM_A 854s # ENUMSHORT: ENUM_A 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: SomeEnumA 854s # enum_name: some_enum_a 854s # ENUMNAME: SOME_ENUM_A 854s # ENUMSHORT: ENUM_A 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: ENUM_VALUE_PUBLIC1 854s # valuenick: public1 854s # valuenum: 0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: SomeEnumA 854s # enum_name: some_enum_a 854s # ENUMNAME: SOME_ENUM_A 854s # ENUMSHORT: ENUM_A 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s # 854s # /tmp/tmpv2xu5td4/tmpb4gdyke2.h: 854s # typedef enum { 854s # /*< private >*/ 854s # ENUM_VALUE_PRIVATE, 854s # /*< public >*/ 854s # ENUM_VALUE_PUBLIC2, 854s # } SomeEnumB; 854s # 854s # /tmp/tmpv2xu5td4/tmpz3rk61df.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmpv2xu5td4/tmpz3rk61df.template /tmp/tmpv2xu5td4/tmpb4gdyke2.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv2xu5td4/tmpmn2lm3sh'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmpv2xu5td4/tmpb4gdyke2.h 854s # basename: tmpb4gdyke2.h 854s # enumeration-production 854s # EnumName: SomeEnumB 854s # enum_name: some_enum_b 854s # ENUMNAME: SOME_ENUM_B 854s # ENUMSHORT: ENUM_B 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: SomeEnumB 854s # enum_name: some_enum_b 854s # ENUMNAME: SOME_ENUM_B 854s # ENUMSHORT: ENUM_B 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: ENUM_VALUE_PUBLIC2 854s # valuenick: public2 854s # valuenum: 1 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: SomeEnumB 854s # enum_name: some_enum_b 854s # ENUMNAME: SOME_ENUM_B 854s # ENUMSHORT: ENUM_B 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpgrxbv264 854s # rspfile: True 854s # /tmp/tmpgrxbv264/tmp28yeqx0y.h: 854s # typedef enum { 854s # /*< private >*/ 854s # ENUM_VALUE_PRIVATE = 5, 854s # /*< public >*/ 854s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 854s # } TestSymbolicEnum; 854s # 854s # /tmp/tmpgrxbv264/tmp0qto51l5.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmpgrxbv264/tmp0qto51l5.template /tmp/tmpgrxbv264/tmp28yeqx0y.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgrxbv264/tmp025cboc6'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmpgrxbv264/tmp28yeqx0y.h 854s # basename: tmp28yeqx0y.h 854s # enumeration-production 854s # EnumName: TestSymbolicEnum 854s # enum_name: test_symbolic_enum 854s # ENUMNAME: TEST_SYMBOLIC_ENUM 854s # ENUMSHORT: SYMBOLIC_ENUM 854s # ENUMPREFIX: TEST 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: TestSymbolicEnum 854s # enum_name: test_symbolic_enum 854s # ENUMNAME: TEST_SYMBOLIC_ENUM 854s # ENUMSHORT: SYMBOLIC_ENUM 854s # ENUMPREFIX: TEST 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: ENUM_VALUE_PUBLIC 854s # valuenick: public 854s # valuenum: 7 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: TestSymbolicEnum 854s # enum_name: test_symbolic_enum 854s # ENUMNAME: TEST_SYMBOLIC_ENUM 854s # ENUMSHORT: SYMBOLIC_ENUM 854s # ENUMPREFIX: TEST 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpy50yaxoo 854s # rspfile: True 854s # /tmp/tmpy50yaxoo/tmpm1p0zl4i.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-tail ***/ 854s # Response file contains: --template /tmp/tmpy50yaxoo/tmpm1p0zl4i.template 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy50yaxoo/tmpc46wt7vl'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # filename: @filename@ 854s # basename: @basename@ 854s # file-tail 854s # filename: @filename@ 854s # basename: @basename@ 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s # WARNING: @filename@ used in file-header section. 854s # WARNING: @basename@ used in file-header section. 854s # WARNING: @filename@ used in file-tail section. 854s # WARNING: @basename@ used in file-tail section. 854s ok 29 __main__.TestRspMkenums.test_help 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmp2syee4me 854s # rspfile: True 854s # Response file contains: --help 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2syee4me/tmp76ekfrke'] 854s # Return code: 0 854s # Output: 854s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 854s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 854s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 854s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 854s # [--comments COMMENT_TMPL] [--template TEMPLATE] 854s # [--output OUTPUT] [--version] 854s # [args ...] 854s # 854s # positional arguments: 854s # args One or more input files, or a single argument 854s # @rspfile_path pointing to a file that contains the 854s # actual arguments 854s # 854s # options: 854s # -h, --help show this help message and exit 854s # --identifier-prefix IDPREFIX 854s # Identifier prefix 854s # --symbol-prefix SYMPREFIX 854s # Symbol prefix 854s # --fhead FHEAD Output file header 854s # --ftail FTAIL Output file footer 854s # --fprod FPROD Put out TEXT every time a new input file is being 854s # processed. 854s # --eprod EPROD Per enum text, produced prior to value iterations 854s # --vhead VHEAD Value header, produced before iterating over enum 854s # values 854s # --vprod VPROD Value text, produced for each enum value. 854s # --vtail VTAIL Value tail, produced after iterating over enum values 854s # --comments COMMENT_TMPL 854s # Comment structure 854s # --template TEMPLATE Template file 854s # --output OUTPUT 854s # --version, -v Print version information 854s # 854s # Production text substitutions: 854s # @EnumName@ PrefixTheXEnum 854s # @enum_name@ prefix_the_xenum 854s # @ENUMNAME@ PREFIX_THE_XENUM 854s # @ENUMSHORT@ THE_XENUM 854s # @ENUMPREFIX@ PREFIX 854s # @enumsince@ the user-provided since value given 854s # @VALUENAME@ PREFIX_THE_XVALUE 854s # @valuenick@ the-xvalue 854s # @valuenum@ the integer value (limited support, Since: 2.26) 854s # @type@ either enum or flags 854s # @Type@ either Enum or Flags 854s # @TYPE@ either ENUM or FLAGS 854s # @filename@ name of current input file 854s # @basename@ base name of the current input file (Since: 2.22) 854s # Error: 854s ok 30 __main__.TestRspMkenums.test_no_args 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmp1lwjh_fb 854s # rspfile: True 854s # Response file contains: 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1lwjh_fb/tmp0m4uqahu'] 854s # Return code: 0 854s # Output: 854s # /* 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. */ 854s # 854s # 854s # /* Generated data ends here */ 854s # Error: 854s ok 31 __main__.TestRspMkenums.test_no_headers 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmp_6q925_0 854s # rspfile: True 854s # /tmp/tmp_6q925_0/tmp_kj1ul98.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmp_6q925_0/tmp_kj1ul98.template 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_6q925_0/tmpbdk3d8q4'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s ok 32 __main__.TestRspMkenums.test_no_nick 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpaai7bhpu 854s # rspfile: True 854s # /tmp/tmpaai7bhpu/tmpfy_hbjq0.h: 854s # typedef enum { 854s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 854s # } GeglSamplerType; 854s # 854s # /tmp/tmpaai7bhpu/tmpdjfwm81d.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmpaai7bhpu/tmpdjfwm81d.template /tmp/tmpaai7bhpu/tmpfy_hbjq0.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpaai7bhpu/tmpqvp6q7jw'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmpaai7bhpu/tmpfy_hbjq0.h 854s # basename: tmpfy_hbjq0.h 854s # enumeration-production 854s # EnumName: GeglSamplerType 854s # enum_name: gegl_sampler_type 854s # ENUMNAME: GEGL_SAMPLER_TYPE 854s # ENUMSHORT: SAMPLER_TYPE 854s # ENUMPREFIX: GEGL 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: GeglSamplerType 854s # enum_name: gegl_sampler_type 854s # ENUMNAME: GEGL_SAMPLER_TYPE 854s # ENUMSHORT: SAMPLER_TYPE 854s # ENUMPREFIX: GEGL 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: GEGL_SAMPLER_NEAREST 854s # valuenick: nearest 854s # valuenum: 0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: GeglSamplerType 854s # enum_name: gegl_sampler_type 854s # ENUMNAME: GEGL_SAMPLER_TYPE 854s # ENUMSHORT: SAMPLER_TYPE 854s # ENUMPREFIX: GEGL 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpbjiwt15_ 854s # rspfile: True 854s # /tmp/tmpbjiwt15_/tmpfqud4ig4.h: 854s # /* Copyright © La Peña */ 854s # typedef enum { 854s # ENUM_VALUE 854s # } SomeEnumIdentifier; 854s # 854s # /tmp/tmpbjiwt15_/tmpfl5fivgq.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmpbjiwt15_/tmpfl5fivgq.template /tmp/tmpbjiwt15_/tmpfqud4ig4.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbjiwt15_/tmp2bp713sf'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmpbjiwt15_/tmpfqud4ig4.h 854s # basename: tmpfqud4ig4.h 854s # enumeration-production 854s # EnumName: SomeEnumIdentifier 854s # enum_name: some_enum_identifier 854s # ENUMNAME: SOME_ENUM_IDENTIFIER 854s # ENUMSHORT: ENUM_IDENTIFIER 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: SomeEnumIdentifier 854s # enum_name: some_enum_identifier 854s # ENUMNAME: SOME_ENUM_IDENTIFIER 854s # ENUMSHORT: ENUM_IDENTIFIER 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: ENUM_VALUE 854s # valuenick: value 854s # valuenum: 0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: SomeEnumIdentifier 854s # enum_name: some_enum_identifier 854s # ENUMNAME: SOME_ENUM_IDENTIFIER 854s # ENUMSHORT: ENUM_IDENTIFIER 854s # ENUMPREFIX: SOME 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 854s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 854s ok 34 __main__.TestRspMkenums.test_reproducible 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpnd681o_5 854s # rspfile: True 854s # /tmp/tmpnd681o_5/tmp82r_adao.template: template 854s # Response file contains: --template /tmp/tmpnd681o_5/tmp82r_adao.template /tmp/tmpnd681o_5/tmpld7ta7n01.h /tmp/tmpnd681o_5/tmpuewyx42e2.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnd681o_5/tmp44cy3fxt'] 854s # Return code: 0 854s # Output: 854s # /* 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. */ 854s # 854s # 854s # /* Generated data ends here */ 854s # Error: 854s # 854s # /tmp/tmpnd681o_5/tmp96eupppy.template: template 854s # Response file contains: --template /tmp/tmpnd681o_5/tmp96eupppy.template /tmp/tmpnd681o_5/tmpuewyx42e2.h /tmp/tmpnd681o_5/tmpld7ta7n01.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnd681o_5/tmp70b3uksr'] 854s # Return code: 0 854s # Output: 854s # /* 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. */ 854s # 854s # 854s # /* Generated data ends here */ 854s # Error: 854s ok 35 __main__.TestRspMkenums.test_since 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmpguncb7bb 854s # rspfile: True 854s # /tmp/tmpguncb7bb/tmp0dr_3xnc.h: 854s # typedef enum { /*< since=1.0 >*/ 854s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 854s # } QmiWmsMessageProtocol; 854s # 854s # /tmp/tmpguncb7bb/tmpfwtzw2pe.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmpguncb7bb/tmpfwtzw2pe.template /tmp/tmpguncb7bb/tmp0dr_3xnc.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpguncb7bb/tmpqyhbzoaq'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmpguncb7bb/tmp0dr_3xnc.h 854s # basename: tmp0dr_3xnc.h 854s # enumeration-production 854s # EnumName: QmiWmsMessageProtocol 854s # enum_name: qmi_wms_message_protocol 854s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 854s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 854s # ENUMPREFIX: QMI 854s # enumsince: 1.0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: QmiWmsMessageProtocol 854s # enum_name: qmi_wms_message_protocol 854s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 854s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 854s # ENUMPREFIX: QMI 854s # enumsince: 1.0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 854s # valuenick: cdma 854s # valuenum: 0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: QmiWmsMessageProtocol 854s # enum_name: qmi_wms_message_protocol 854s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 854s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 854s # ENUMPREFIX: QMI 854s # enumsince: 1.0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s ok 36 __main__.TestRspMkenums.test_with_double_quotes 854s # glib-mkenums: /usr/bin/glib-mkenums 854s # tmpdir: /tmp/tmp578qgddg 854s # rspfile: True 854s # /tmp/tmp578qgddg/tmp0uejqqqh.h: 854s # typedef enum { 854s # FOO_VALUE /*< nick="eek, a comma" >*/ 854s # } Foo; 854s # 854s # /tmp/tmp578qgddg/tmppdd2t8s8.template: 854s # /*** BEGIN file-header ***/ 854s # file-header 854s # /*** END file-header ***/ 854s # 854s # /*** BEGIN file-production ***/ 854s # file-production 854s # filename: @filename@ 854s # basename: @basename@ 854s # /*** END file-production ***/ 854s # 854s # /*** BEGIN enumeration-production ***/ 854s # enumeration-production 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END enumeration-production ***/ 854s # 854s # /*** BEGIN value-header ***/ 854s # value-header 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-header ***/ 854s # 854s # /*** BEGIN value-production ***/ 854s # value-production 854s # VALUENAME: @VALUENAME@ 854s # valuenick: @valuenick@ 854s # valuenum: @valuenum@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-production ***/ 854s # 854s # /*** BEGIN value-tail ***/ 854s # value-tail 854s # EnumName: @EnumName@ 854s # enum_name: @enum_name@ 854s # ENUMNAME: @ENUMNAME@ 854s # ENUMSHORT: @ENUMSHORT@ 854s # ENUMPREFIX: @ENUMPREFIX@ 854s # enumsince: @enumsince@ 854s # type: @type@ 854s # Type: @Type@ 854s # TYPE: @TYPE@ 854s # /*** END value-tail ***/ 854s # 854s # /*** BEGIN comment ***/ 854s # comment 854s # comment: @comment@ 854s # /*** END comment ***/ 854s # 854s # /*** BEGIN file-tail ***/ 854s # file-tail 854s # /*** END file-tail ***/ 854s # 854s # Response file contains: --template /tmp/tmp578qgddg/tmppdd2t8s8.template /tmp/tmp578qgddg/tmp0uejqqqh.h 854s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp578qgddg/tmptb1n9e4v'] 854s # Return code: 0 854s # Output: 854s # comment 854s # 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. 854s # 854s # 854s # file-header 854s # file-production 854s # filename: /tmp/tmp578qgddg/tmp0uejqqqh.h 854s # basename: tmp0uejqqqh.h 854s # enumeration-production 854s # EnumName: Foo 854s # enum_name: foo_ 854s # ENUMNAME: FOO_ 854s # ENUMSHORT: 854s # ENUMPREFIX: FOO 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-header 854s # EnumName: Foo 854s # enum_name: foo_ 854s # ENUMNAME: FOO_ 854s # ENUMSHORT: 854s # ENUMPREFIX: FOO 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-production 854s # VALUENAME: FOO_VALUE 854s # valuenick: eek, a comma 854s # valuenum: 0 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # value-tail 854s # EnumName: Foo 854s # enum_name: foo_ 854s # ENUMNAME: FOO_ 854s # ENUMSHORT: 854s # ENUMPREFIX: FOO 854s # enumsince: 854s # type: enum 854s # Type: Enum 854s # TYPE: ENUM 854s # file-tail 854s # 854s # comment 854s # comment: Generated data ends here 854s # Error: 854s 1..36 854s ok - glib/mkenums.py.test 854s # Running test: glib/spawn-multithreaded.test 854s TAP version 14 854s # random seed: R02Sf7d194b147b7dd1f5312170597903854 854s 1..4 854s # Start of gthread tests 855s # Child 7436 (ttl 1) exited, status 0 856s # Child 7437 (ttl 2) exited, status 0 856s ok 1 /gthread/spawn-childs 856s # slow test /gthread/spawn-childs executed in 2.00 secs 856s # Created pid: 7441 (ttl 1) 856s # Created pid: 7442 (ttl 2) 857s # Executing: glib/spawn-multithreaded.test 857s # Child 7441 (ttl 1) exited, status 0 858s # Child 7442 (ttl 2) exited, status 0 858s ok 2 /gthread/spawn-childs-threads 858s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 858s ok 3 /gthread/spawn-sync 858s ok 4 /gthread/spawn-async 858s # End of gthread tests 858s ok - glib/spawn-multithreaded.test 858s # Running test: glib/buffered-output-stream.test 858s TAP version 14 858s # random seed: R02Sd5300869c21b04ffa04f215ba8a2c335 858s 1..5 858s # Start of buffered-output-stream tests 858s ok 1 /buffered-output-stream/write 858s ok 2 /buffered-output-stream/grow 858s ok 3 /buffered-output-stream/seek 858s ok 4 /buffered-output-stream/truncate 858s # End of buffered-output-stream tests 858s # Start of filter-output-stream tests 858s ok 5 /filter-output-stream/close 858s # End of filter-output-stream tests 858s ok - glib/buffered-output-stream.test 858s # Running test: glib/g-file.test 858s ok - glib/g-file.test 858s # Running test: glib/properties.test 858s ok - glib/properties.test 858s # Running test: glib/portal-support-flatpak-gsettings-only.test 858s TAP version 14 858s # random seed: R02S02b7f95cc3edb91d7503fa1fe4acef3e 858s 1..8 858s # Start of g-file tests 858s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 858s ok 1 /g-file/test_g_file_new_null 858s ok 2 /g-file/test_g_file_new_for_path 858s ok 3 /g-file/test_g_file_new_for_uri 858s ok 4 /g-file/test_g_file_dup 858s ok 5 /g-file/test_g_file_get_parse_name_utf8 858s file:///tmp/test-tmp-glib_g-file.test-AZFR52 858s file:///tmp 858s file:///tmp 858s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 858s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 858s ok 6 /g-file/test_g_file_new_for_commandline_arg 858s /dir1 /dir1/dir2/dir3/ 858s /dir1/ /dir1/dir2/dir3/ 858s /dir1 /dir1/dir2/dir3 858s /dir1/ /dir1/dir2/dir3 858s /tmp/ /something/ 858s /dir1/dir2 /dir1/ 858s //dir1/new //dir1/new/dir2/dir3 858s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 858s file:///dir1 file:///dir1/dir2/dir3/ 858s file:///dir1/ file:///dir1/dir2/dir3/ 858s file:///dir1 file:///dir1/dir2/dir3 858s file:///dir1/ file:///dir1/dir2/dir3 858s file:///tmp/ file:///something/ 858s file:///dir1/dir2 file:///dir1/ 858s file:////dir1/new file:////dir1/new/dir2/dir3 858s 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 858s ok 7 /g-file/test_g_file_has_prefix 858s ok 8 /g-file/test_g_file_get_parent_child 858s # End of g-file tests 858s TAP version 14 858s # random seed: R02S380332aded55cfdf8cae8d4b3725d425 858s 1..14 858s # Start of properties tests 858s ok 1 /properties/install 858s ok 2 /properties/install-many 858s ok 3 /properties/notify 858s ok 4 /properties/notify-queue 858s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 858s ok 5 /properties/construct 858s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 858s # Test g_object_get_property with an initialized value 858s # Test g_object_get_property with an uninitialized value 858s # Test g_object_get_property with a transformable value 858s ok 6 /properties/get-property 858s ok 7 /properties/testv_with_no_properties 858s ok 8 /properties/testv_with_valid_properties 858s ok 9 /properties/testv_with_invalid_property_type 858s ok 10 /properties/testv_with_invalid_property_names 858s ok 11 /properties/testv_getv 858s ok 12 /properties/testv_notify_queue 858s # Start of notify tests 858s ok 13 /properties/notify/too-many-freezes 858s # End of notify tests 858s # Start of set-property tests 858s # Start of variant tests 858s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 858s ok 14 /properties/set-property/variant/floating 858s # End of variant tests 858s # End of set-property tests 858s # End of properties tests 858s TAP version 14 858s # random seed: R02S7005ba595be75ef1477305d4552304ce 858s 1..1 858s # Start of portal-support tests 858s # Start of flatpak tests 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/runtime 858s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_0R7R52/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 858s ok 1 /portal-support/flatpak/gsettings 858s # End of flatpak tests 858s # End of portal-support tests 858s TAP version 14 858s # random seed: R02Sedbc540d3fd02c52e5720b5c0427d964 858s 1..3 858s # Start of static-proxy tests 858s ok 1 /static-proxy/uri 858s ok 2 /static-proxy/socks 858s ok 3 /static-proxy/ignore 858s # End of static-proxy tests 858s TAP version 14 858s # random seed: R02S8394829d15dfd5f1eab8ae54715d351f 858s 1..71 858s # Start of markup tests 858s # Start of parse tests 858s ok 1 /markup/parse/fail-20.gmarkup 858s ok 2 /markup/parse/fail-17.gmarkup 858s ok 3 /markup/parse/fail-9.gmarkup 858s ok 4 /markup/parse/fail-5.gmarkup 858s ok 5 /markup/parse/fail-24.gmarkup 858s ok 6 /markup/parse/fail-26.gmarkup 858s ok - glib/portal-support-flatpak-gsettings-only.test 858s # Running test: glib/simple-proxy.test 858s ok - glib/simple-proxy.test 858s # Running test: glib/markup-parse.test 858s ok 7 /markup/parse/valid-17.gmarkup 858s ok 8 /markup/parse/valid-9.gmarkup 858s ok 9 /markup/parse/fail-45.gmarkup 858s ok 10 /markup/parse/fail-14.gmarkup 858s ok 11 /markup/parse/fail-48.gmarkup 858s ok 12 /markup/parse/fail-35.gmarkup 858s ok 13 /markup/parse/fail-28.gmarkup 858s ok 14 /markup/parse/fail-1.gmarkup 858s ok 15 /markup/parse/fail-27.gmarkup 858s ok 16 /markup/parse/valid-13.gmarkup 858s ok 17 /markup/parse/fail-37.gmarkup 858s ok 18 /markup/parse/valid-8.gmarkup 858s ok 19 /markup/parse/valid-2.gmarkup 858s ok 20 /markup/parse/fail-47.gmarkup 858s ok 21 /markup/parse/fail-4.gmarkup 858s ok 22 /markup/parse/fail-50.gmarkup 858s ok 23 /markup/parse/fail-6.gmarkup 858s ok 24 /markup/parse/fail-49.gmarkup 858s ok 25 /markup/parse/fail-30.gmarkup 858s ok 26 /markup/parse/fail-25.gmarkup 858s ok 27 /markup/parse/fail-41.gmarkup 858s ok 28 /markup/parse/valid-3.gmarkup 858s ok 29 /markup/parse/fail-18.gmarkup 858s ok 30 /markup/parse/fail-8.gmarkup 858s ok 31 /markup/parse/valid-5.gmarkup 858s ok 32 /markup/parse/fail-7.gmarkup 858s ok 33 /markup/parse/valid-15.gmarkup 858s ok 34 /markup/parse/fail-44.gmarkup 858s ok 35 /markup/parse/fail-34.gmarkup 858s ok 36 /markup/parse/fail-31.gmarkup 858s ok 37 /markup/parse/fail-22.gmarkup 858s ok 38 /markup/parse/fail-38.gmarkup 858s ok 39 /markup/parse/fail-12.gmarkup 858s ok 40 /markup/parse/fail-13.gmarkup 858s ok 41 /markup/parse/fail-42.gmarkup 858s ok 42 /markup/parse/fail-16.gmarkup 858s ok 43 /markup/parse/valid-11.gmarkup 858s ok 44 /markup/parse/fail-36.gmarkup 858s ok 45 /markup/parse/fail-52.gmarkup 858s ok 46 /markup/parse/valid-10.gmarkup 858s ok 47 /markup/parse/valid-4.gmarkup 858s ok 48 /markup/parse/fail-54.gmarkup 858s ok 49 /markup/parse/fail-11.gmarkup 858s ok 50 /markup/parse/fail-32.gmarkup 858s ok 51 /markup/parse/valid-12.gmarkup 858s ok 52 /markup/parse/fail-39.gmarkup 858s ok 53 /markup/parse/valid-6.gmarkup 858s ok 54 /markup/parse/fail-53.gmarkup 858s ok 55 /markup/parse/fail-29.gmarkup 858s ok 56 /markup/parse/fail-33.gmarkup 858s ok 57 /markup/parse/fail-19.gmarkup 858s ok 58 /markup/parse/fail-46.gmarkup 858s ok 59 /markup/parse/valid-7.gmarkup 858s ok 60 /markup/parse/valid-16.gmarkup 858s ok 61 /markup/parse/valid-1.gmarkup 858s ok 62 /markup/parse/fail-2.gmarkup 858s ok 63 /markup/parse/fail-21.gmarkup 858s ok 64 /markup/parse/valid-14.gmarkup 858s ok 65 /markup/parse/fail-51.gmarkup 858s ok 66 /markup/parse/fail-40.gmarkup 858s ok 67 /markup/parse/fail-43.gmarkup 858s ok 68 /markup/parse/fail-23.gmarkup 858s ok 69 /markup/parse/fail-15.gmarkup 858s ok 70 /markup/parse/fail-10.gmarkup 858s ok 71 /markup/parse/fail-3.gmarkup 858s # End of parse tests 858s # End of markup tests 858s ok - glib/markup-parse.test 858s # Running test: glib/module-test-plugin.test 858s TAP version 14 858s ok - glib/module-test-plugin.test 858s # random seed: R02S8134802b9ef15a73783a4fe461c4cda0 858s 1..3 858s # Start of module tests 858s ok 1 /module/basics 858s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 858s ok 2 /module/invalid-libtool-archive 858s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 858s ok 3 /module/local-binding 858s # End of module tests 858s # Running test: glib/gi-inspect-typelib.py.test 858s TAP version 13 858s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmplj478y4t 858s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 858s # Return code: 0 858s # Output: 858s # Usage: 858s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 858s # 858s # Help Options: 858s # -h, --help Show help options 858s # 858s # Application Options: 858s # --typelib-version=VERSION Typelib version to inspect 858s # --print-shlibs List the shared libraries the typelib requires 858s # --print-typelibs List other typelibs the inspected typelib requires 858s # Error: 858s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmprd9oognv 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 858s # Return code: 1 858s # Output: 858s # 858s # Error: 858s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 858s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmps_95txvf 858s # Running: ['/usr/bin/gi-inspect-typelib'] 858s # Return code: 1 858s # Output: 858s # 858s # Error: 858s # Please specify exactly one namespace 858s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpkvntknk_ 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # shlib: libgobject-2.0.so.0 858s # shlib: libglib-2.0.so.0 858s # Error: 858s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpccw3b0ue 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # 858s # Error: 858s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpfz6837sw 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # shlib: libgobject-2.0.so.0 858s # shlib: libglib-2.0.so.0 858s # Error: 858s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpyhkdtcjf 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # shlib: libgobject-2.0.so.0 858s # Error: 858s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpyvy2aso9 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # typelib: GLib-2.0 858s # Error: 858s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmppx41_rjj 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # shlib: libgobject-2.0.so.0 858s # typelib: GLib-2.0 858s # Error: 858s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpmvt9sz44 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # shlib: libgio-2.0.so.0 858s # Error: 858s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmpyzt4dq8f 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # typelib: GObject-2.0 858s # typelib: GLib-2.0 858s # typelib: GModule-2.0 858s # Error: 858s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 858s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 858s # tmpdir: /tmp/tmp4vc52cxf 858s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 858s # Return code: 0 858s # Output: 858s # shlib: libgio-2.0.so.0 858s # typelib: GObject-2.0 858s # typelib: GLib-2.0 858s # typelib: GModule-2.0 858s # Error: 858s 1..12 858s ok - glib/gi-inspect-typelib.py.test 858s # Running test: glib/macros.test 858s TAP version 14 858s # random seed: R02S4fd0307fe3d38030e13246b71a4a9c87 858s 1..3 858s # Start of alignof tests 858s ok 1 /alignof/fallback 858s # End of alignof tests 858s # Start of assert tests 858s ok 2 /assert/static 858s # End of assert tests 858s # Start of struct tests 858s ok - glib/macros.test 858s ok 3 /struct/sizeof_member 858s # End of struct tests 858s # Running test: glib/array-test.test 858s TAP version 14 858s # random seed: R02S78761525f80589bddb612be706a91e09 858s 1..113 858s # Start of array tests 858s ok 1 /array/ref-count 858s ok 2 /array/steal 858s ok 3 /array/clear-func 858s ok 4 /array/binary-search 858s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 858s ok 5 /array/copy-sized 858s ok 6 /array/overflow-append-vals 858s ok 7 /array/overflow-set-size 858s # Start of new tests 858s ok 8 /array/new/zero-terminated 858s ok 9 /array/new/take 858s ok 10 /array/new/take-zero-terminated 858s # Start of take tests 858s ok 11 /array/new/take/empty 858s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 858s # End of take tests 858s # End of new tests 858s # Start of set-size tests 858s ok 13 /array/set-size/non-zero-terminated-no-clear 858s ok 14 /array/set-size/non-zero-terminated-clear 858s ok 15 /array/set-size/zero-terminated-no-clear 858s ok 16 /array/set-size/zero-terminated-clear 858s # Start of sized tests 858s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 858s ok 18 /array/set-size/sized/non-zero-terminated-clear 858s ok 19 /array/set-size/sized/zero-terminated-no-clear 858s ok 20 /array/set-size/sized/zero-terminated-clear 858s # End of sized tests 858s # End of set-size tests 858s # Start of append-val tests 858s ok 21 /array/append-val/non-zero-terminated-no-clear 858s ok 22 /array/append-val/non-zero-terminated-clear 858s ok 23 /array/append-val/zero-terminated-no-clear 858s ok 24 /array/append-val/zero-terminated-clear 858s # End of append-val tests 858s # Start of prepend-val tests 858s ok 25 /array/prepend-val/non-zero-terminated-no-clear 858s ok 26 /array/prepend-val/non-zero-terminated-clear 858s ok 27 /array/prepend-val/zero-terminated-no-clear 858s ok 28 /array/prepend-val/zero-terminated-clear 858s # End of prepend-val tests 858s # Start of prepend-vals tests 858s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 858s ok 30 /array/prepend-vals/non-zero-terminated-clear 858s ok 31 /array/prepend-vals/zero-terminated-no-clear 858s ok 32 /array/prepend-vals/zero-terminated-clear 858s # End of prepend-vals tests 858s # Start of insert-vals tests 858s ok 33 /array/insert-vals/non-zero-terminated-no-clear 858s ok 34 /array/insert-vals/non-zero-terminated-clear 858s ok 35 /array/insert-vals/zero-terminated-no-clear 858s ok 36 /array/insert-vals/zero-terminated-clear 858s # End of insert-vals tests 858s # Start of remove-index tests 858s ok 37 /array/remove-index/non-zero-terminated-no-clear 858s ok 38 /array/remove-index/non-zero-terminated-clear 858s ok 39 /array/remove-index/zero-terminated-no-clear 858s ok 40 /array/remove-index/zero-terminated-clear 858s # End of remove-index tests 858s # Start of remove-index-fast tests 858s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 858s ok 42 /array/remove-index-fast/non-zero-terminated-clear 858s ok 43 /array/remove-index-fast/zero-terminated-no-clear 858s ok 44 /array/remove-index-fast/zero-terminated-clear 858s # End of remove-index-fast tests 858s # Start of remove-range tests 858s ok 45 /array/remove-range/non-zero-terminated-no-clear 858s ok 46 /array/remove-range/non-zero-terminated-clear 858s ok 47 /array/remove-range/zero-terminated-no-clear 858s ok 48 /array/remove-range/zero-terminated-clear 858s # End of remove-range tests 858s # Start of copy tests 858s ok 49 /array/copy/non-zero-terminated-no-clear 858s ok 50 /array/copy/non-zero-terminated-clear 858s ok 51 /array/copy/zero-terminated-no-clear 858s ok 52 /array/copy/zero-terminated-clear 858s # End of copy tests 858s # Start of sort tests 858s ok 53 /array/sort/non-zero-terminated-no-clear 858s ok 54 /array/sort/non-zero-terminated-clear 858s ok 55 /array/sort/zero-terminated-no-clear 858s ok 56 /array/sort/zero-terminated-clear 858s # End of sort tests 858s # Start of sort-with-data tests 858s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 858s ok 58 /array/sort-with-data/non-zero-terminated-clear 858s ok 59 /array/sort-with-data/zero-terminated-no-clear 858s ok 60 /array/sort-with-data/zero-terminated-clear 858s # End of sort-with-data tests 858s # End of array tests 858s # Start of pointerarray tests 858s ok 61 /pointerarray/add 858s ok 62 /pointerarray/insert 858s ok 63 /pointerarray/new-take 858s ok 64 /pointerarray/new-take-null-terminated 858s ok 65 /pointerarray/new-from-array 858s ok 66 /pointerarray/new-from-null-terminated-array 858s ok 67 /pointerarray/free-func 858s ok 68 /pointerarray/array_extend_and_steal 858s ok 69 /pointerarray/sort 858s ok 70 /pointerarray/sort-with-data 858s ok 71 /pointerarray/sort-values 858s ok 72 /pointerarray/sort-values-with-data 858s ok 73 /pointerarray/remove-range 858s ok 74 /pointerarray/steal 858s # Start of free tests 858s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 858s ok 75 /pointerarray/free/null-terminated 858s # End of free tests 858s # Start of new-take tests 858s ok 76 /pointerarray/new-take/empty 858s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 858s ok 78 /pointerarray/new-take/with-free-func 858s # End of new-take tests 858s # Start of new-take-null-terminated tests 858s ok 79 /pointerarray/new-take-null-terminated/empty 858s ok 80 /pointerarray/new-take-null-terminated/with-free-func 858s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 858s # End of new-take-null-terminated tests 858s # Start of new-from-array tests 858s ok 82 /pointerarray/new-from-array/empty 858s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 858s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 858s # End of new-from-array tests 858s # Start of new-from-null-terminated-array tests 858s ok 85 /pointerarray/new-from-null-terminated-array/empty 858s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 858s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 858s # End of new-from-null-terminated-array tests 858s # Start of ref-count tests 858s ok 88 /pointerarray/ref-count/not-null-terminated 858s ok 89 /pointerarray/ref-count/null-terminated 858s # End of ref-count tests 858s # Start of array_copy tests 858s # /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 858s ok 90 /pointerarray/array_copy/not-null-terminated 858s # /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 858s ok 91 /pointerarray/array_copy/null-terminated 858s # End of array_copy tests 858s # Start of array_extend tests 858s ok 92 /pointerarray/array_extend/not-null-terminated 858s ok 93 /pointerarray/array_extend/null-terminated 858s # End of array_extend tests 858s # Start of sort tests 858s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 858s ok 94 /pointerarray/sort/example 858s # End of sort tests 858s # Start of sort-with-data tests 858s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 858s ok 95 /pointerarray/sort-with-data/example 858s # End of sort-with-data tests 858s # Start of sort-values tests 858s ok 96 /pointerarray/sort-values/example 858s # End of sort-values tests 858s # Start of sort-values-with-data tests 858s ok 97 /pointerarray/sort-values-with-data/example 858s # End of sort-values-with-data tests 858s # Start of find tests 858s ok 98 /pointerarray/find/empty 858s ok 99 /pointerarray/find/non-empty 858s # End of find tests 858s # Start of steal_index tests 858s ok 100 /pointerarray/steal_index/not-null-terminated 858s ok 101 /pointerarray/steal_index/null-terminated 858s # End of steal_index tests 858s # End of pointerarray tests 858s # Start of bytearray tests 858s ok 102 /bytearray/steal 858s ok 103 /bytearray/append 858s ok 104 /bytearray/prepend 858s ok 105 /bytearray/remove 858s ok 106 /bytearray/remove-fast 858s ok 107 /bytearray/remove-range 858s ok 108 /bytearray/ref-count 858s ok 109 /bytearray/sort 858s ok 110 /bytearray/sort-with-data 858s ok 111 /bytearray/new-take 858s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 858s ok 113 /bytearray/free-to-bytes 858s # End of bytearray tests 858s ok - glib/array-test.test 858s # Running test: glib/cxx.test 858s TAP version 14 858s # random seed: R02S0d526911a5b53268c7d101e8e709e995 858s 1..2 858s # Start of gtask tests 858s # 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. 858s ok 1 /gtask/name 858s # Start of name tests 858s # 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. 858s ok 2 /gtask/name/macro-wrapper 858s # End of name tests 858s # End of gtask tests 858s ok - glib/cxx.test 858s # Running test: glib/thread-pool-slow.test 858s TAP version 14 858s # random seed: R02Se0a0c7408ed8f4fd670fa915f8b0eec7 858s 1..7 858s # Start of threadpool tests 858s ok 1 /threadpool/functions 859s ok 2 /threadpool/stop-unused 859s # slow test /threadpool/stop-unused executed in 0.51 secs 859s ok 3 /threadpool/pools 859s # [unsorted] ===> pushed new thread with id:83, number of threads:1, unprocessed:1 859s # [unsorted] ===> pushed new thread with id:61, number of threads:2, unprocessed:2 859s # [unsorted] ===> pushed new thread with id:23, number of threads:3, unprocessed:3 859s # [unsorted] ===> pushed new thread with id:71, number of threads:4, unprocessed:4 859s # [unsorted] ===> pushed new thread with id:20, number of threads:5, unprocessed:5 859s # [unsorted] ===> pushed new thread with id:31, number of threads:6, unprocessed:6 859s # [unsorted] ===> pushed new thread with id:37, number of threads:7, unprocessed:7 859s # [unsorted] ===> pushed new thread with id:32, number of threads:8, unprocessed:8 859s # [unsorted] ===> pushed new thread with id:40, number of threads:9, unprocessed:9 859s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:4 859s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:5 859s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:6 859s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:7 859s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:8 859s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:9 859s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:10 859s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:11 859s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:12 859s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:13 859s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:14 859s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:15 859s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:16 859s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:17 859s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:18 859s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:19 859s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:20 859s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:21 859s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:22 859s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:23 859s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:24 859s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:25 859s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:26 859s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:27 859s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:28 859s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:29 859s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:30 859s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:31 859s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:32 859s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:33 859s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:34 859s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:35 859s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:36 859s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:37 859s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:38 859s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:39 859s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:40 859s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:41 859s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:42 859s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:43 859s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:44 859s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:45 859s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:45 859s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:45 859s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:45 859s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:46 859s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:46 859s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:47 859s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:48 859s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:49 859s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:50 859s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:51 859s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:52 859s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:53 859s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:54 859s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:55 859s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:56 859s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:57 859s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:58 859s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:59 859s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:60 859s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:61 859s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:62 859s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:63 859s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:64 859s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:65 859s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:66 859s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:67 859s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:68 859s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:69 859s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:70 859s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:71 859s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:72 859s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:73 859s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:74 859s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:75 859s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:76 859s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:77 859s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:78 859s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:79 859s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:80 859s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:81 859s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:82 859s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:83 859s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:84 859s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 859s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:86 859s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:87 859s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:88 859s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:89 859s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:90 859s ok 4 /threadpool/no-sort 859s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:1 859s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:2 859s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:3 859s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:4 859s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:5 859s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:6 859s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:7 859s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:8 859s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:9 859s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:10 859s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:11 859s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:12 859s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:13 859s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:14 859s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:15 859s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:16 859s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:17 859s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:18 859s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:19 859s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:20 859s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:21 859s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:22 859s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:23 859s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:24 859s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:25 859s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:26 859s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:27 859s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:28 859s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:29 859s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:30 859s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:31 859s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:32 859s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:33 859s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:34 859s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:35 859s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:36 859s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:37 859s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:38 859s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:39 859s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:40 859s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:41 859s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:42 859s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:43 859s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:44 859s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:45 859s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:46 859s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:47 859s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:48 859s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:49 859s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:50 859s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:51 859s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:52 859s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:53 859s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:54 859s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:55 859s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:56 859s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:57 859s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:58 859s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:59 859s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:60 859s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:61 859s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:62 859s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:63 859s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:64 859s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:65 859s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:66 859s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:67 859s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:68 859s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:69 859s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:70 859s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:71 859s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:72 859s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:73 859s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:74 859s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:75 859s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:76 859s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:77 859s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:78 859s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:79 859s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:80 859s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:81 859s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:82 859s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:83 859s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:84 859s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:85 859s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:86 859s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:87 859s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:88 859s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:89 859s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:90 859s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:91 859s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:92 859s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:93 859s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:94 859s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:95 859s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:96 859s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:97 859s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:98 859s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:99 859s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:100 859s # Starting thread pool processing 859s ok 5 /threadpool/sort 860s ok 6 /threadpool/stop-unused-multiple 860s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 860s # Pool idle thread count: 0, unprocessed jobs: 40 860s # Pool idle thread count: 0, unprocessed jobs: 0 860s # Pool idle thread count: 0, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Executing: glib/thread-pool-slow.test 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Executing: glib/thread-pool-slow.test 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 869s # Pool idle thread count: 10, unprocessed jobs: 2 869s # Pool idle thread count: 9, unprocessed jobs: 1 869s # Pool idle thread count: 8, unprocessed jobs: 0 869s # Pool idle thread count: 8, unprocessed jobs: 0 869s # Pool idle thread count: 10, unprocessed jobs: 0 869s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Executing: glib/thread-pool-slow.test 872s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Executing: glib/thread-pool-slow.test 877s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 879s # Pool idle thread count: 2, unprocessed jobs: 0 879s # Pool idle thread count: 2, unprocessed jobs: 0 879s ok 7 /threadpool/idle-time 879s # slow test /threadpool/idle-time executed in 19.53 secs 879s # End of threadpool tests 879s ok - glib/thread-pool-slow.test 879s # Running test: glib/autoptr-gio.test 879s TAP version 14 879s # random seed: R02S0474331b84223a0268f78c350cafc2f6 879s 1..1 879s # Start of autoptr tests 879s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 879s ok 1 /autoptr/autoptr 879s # End of autoptr tests 879s ok - glib/autoptr-gio.test 879s # Running test: glib/application-command-line.test 879s ok - glib/application-command-line.test 879s # Running test: glib/mount-operation.test 879s ok - glib/mount-operation.test 879s # Running test: glib/logging.test 879s TAP version 14 879s # random seed: R02Sa7432e7f5240a97cfee0e2b03ee9c4e8 879s 1..1 879s # Start of application-command-line tests 879s ok 1 /application-command-line/basic-properties 879s # End of application-command-line tests 879s TAP version 14 879s # random seed: R02Se132afd2aa1d2646bd65eae3ef2f11ba 879s 1..2 879s # Start of mount-operation tests 879s ok 1 /mount-operation/construction 879s ok 2 /mount-operation/properties 879s # End of mount-operation tests 879s TAP version 14 879s # random seed: R02Se93bcf44806383d04447eab70cf6f40e 879s 1..17 879s # Start of logging tests 880s ok 1 /logging/default-handler 880s ok 2 /logging/warnings 880s ok 3 /logging/fatal-log-mask 880s # bu-DEBUG: message 880s # ba-DEBUG: message 880s # ba-INFO: message 880s ok 4 /logging/set-handler 880s ok 5 /logging/print-handler 880s ok 6 /logging/printerr-handler 880s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 880s # The Log Message Handler 880s # 880s # The Good Fail Message Handler 880s # 880s ok 7 /logging/653052 880s ok 8 /logging/gibberish 880s # Start of default-handler tests 880s # Start of subprocess tests 880s # End of subprocess tests 880s # End of default-handler tests 880s # End of logging tests 880s # Start of structured-logging tests 880s ok 9 /structured-logging/no-state 880s ok 10 /structured-logging/some-state 880s ok 11 /structured-logging/robustness 880s ok - glib/logging.test 880s # Running test: glib/g-file-info-filesystem-readonly.test 880s ok 12 /structured-logging/roundtrip1 880s ok 13 /structured-logging/roundtrip2 880s ok 14 /structured-logging/roundtrip3 880s ok 15 /structured-logging/variant1 880s ok 16 /structured-logging/variant2 880s ok 17 /structured-logging/set-writer-func-twice 880s # End of structured-logging tests 880s TAP version 14 880s # random seed: R02S5c2f90c55ecf80b4709bdc25a8b5f55c 880s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 880s 1..2 880s # Start of g-file-info-filesystem-readonly tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 880s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_EQ2152/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 880s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 880s # End of g-file-info-filesystem-readonly tests 880s TAP version 14 880s # random seed: R02S654fc984d4e3e7c9a256d7a749e86caf 880s 1..1 880s # Start of unicode tests 880s ok 1 /unicode/encoding 880s # End of unicode tests 880s TAP version 14 880s # random seed: R02Seba62f13ef5c73a6f6f3e2fb5f2fc4aa 880s 1..2 880s # Start of gdbus tests 880s # Start of connection tests 880s # Start of flush tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/busy/.dirs/runtime 880s ok 1 /gdbus/connection/flush/busy 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/system-data2 880s ok - glib/g-file-info-filesystem-readonly.test 880s # Running test: glib/unicode-encoding.test 880s ok - glib/unicode-encoding.test 880s # Running test: glib/gdbus-connection-flush.test 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MRD252/gdbus/connection/flush/idle/.dirs/runtime 880s ok 2 /gdbus/connection/flush/idle 880s # End of flush tests 880s # End of connection tests 880s # End of gdbus tests 880s TAP version 14 880s # random seed: R02S916f48a8006549c4a73fbd8ae5fa760a 880s 1..3 880s # Start of trash tests 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 880s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 880s # File: /tmp/test-trash21N252 (parent st_dev: 64769) 880s # Home: /home/ubuntu (st_dev: 64769) 880s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 880s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 880s ok 3 /trash/long-filename 880s # End of trash tests 880s TAP version 14 880s # random seed: R02S5ce2599fde19f5a5841f1ed9888dad27 880s 1..51 880s # Start of shell tests 880s # Start of cmdline tests 880s test cmdline: foo bar 880s ok 1 /shell/cmdline/0 880s test cmdline: foo 'bar' 880s ok 2 /shell/cmdline/1 880s test cmdline: foo "bar" 880s ok 3 /shell/cmdline/2 880s test cmdline: foo '' 'bar' 880s ok 4 /shell/cmdline/3 880s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 880s ok 5 /shell/cmdline/4 880s test cmdline: foo blah foo bar baz 880s ok 6 /shell/cmdline/5 880s test cmdline: foo ' spaces more spaces lots of spaces in this ' 880s ok 7 /shell/cmdline/6 880s test cmdline: foo \ 880s bar 880s ok 8 /shell/cmdline/7 880s test cmdline: foo '' '' 880s ok 9 /shell/cmdline/8 880s test cmdline: foo \" la la la 880s ok 10 /shell/cmdline/9 880s test cmdline: foo \ foo woo woo\ 880s ok 11 /shell/cmdline/10 880s test cmdline: foo "yada yada \$\"" 880s ok 12 /shell/cmdline/11 880s ok - glib/gdbus-connection-flush.test 880s # Running test: glib/trash.test 880s ok - glib/trash.test 880s # Running test: glib/shell.test 880s ok - glib/shell.test 880s test cmdline: foo "c:\\" 880s ok 13 /shell/cmdline/12 880s test cmdline: foo # bla bla bla 880s bar 880s ok 14 /shell/cmdline/13 880s test cmdline: foo a#b 880s ok 15 /shell/cmdline/14 880s test cmdline: #foo 880s ok 16 /shell/cmdline/15 880s test cmdline: foo bar \ 880s ok 17 /shell/cmdline/16 880s test cmdline: foo 'bar baz 880s ok 18 /shell/cmdline/17 880s test cmdline: foo '"bar" baz 880s ok 19 /shell/cmdline/18 880s test cmdline: 880s ok 20 /shell/cmdline/19 880s test cmdline: 880s ok 21 /shell/cmdline/20 880s test cmdline: # foo bar 880s ok 22 /shell/cmdline/21 880s test cmdline: foo '/bar/summer'\''09 tours.pdf' 880s ok 23 /shell/cmdline/22 880s # End of cmdline tests 880s # Start of quote tests 880s ok 24 /shell/quote/0 880s ok 25 /shell/quote/1 880s ok 26 /shell/quote/2 880s ok 27 /shell/quote/3 880s ok 28 /shell/quote/4 880s ok 29 /shell/quote/5 880s ok 30 /shell/quote/6 880s # End of quote tests 880s # Start of unquote tests 880s ok 31 /shell/unquote/0 880s ok 32 /shell/unquote/1 880s ok 33 /shell/unquote/2 880s ok 34 /shell/unquote/3 880s ok 35 /shell/unquote/4 880s ok 36 /shell/unquote/5 880s ok 37 /shell/unquote/6 880s ok 38 /shell/unquote/7 880s ok 39 /shell/unquote/8 880s ok 40 /shell/unquote/9 880s ok 41 /shell/unquote/10 880s ok 42 /shell/unquote/11 880s ok 43 /shell/unquote/12 880s ok 44 /shell/unquote/13 880s ok 45 /shell/unquote/14 880s ok 46 /shell/unquote/15 880s ok 47 /shell/unquote/16 880s ok 48 /shell/unquote/17 880s ok 49 /shell/unquote/18 880s ok 50 /shell/unquote/19 880s ok 51 /shell/unquote/20 880s # End of unquote tests 880s # End of shell tests 880s TAP version 14 880s # random seed: R02Sbac2a2274ac4d9b4c1a406e0860793ed 880s 1..4 880s # Start of repository tests 880s # Start of search-paths tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1YT252/repository/search-paths/default/.dirs/runtime 880s ok 1 /repository/search-paths/default 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/config 880s # Running test: glib/repository-search-paths.test 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1YT252/repository/search-paths/prepend/.dirs/runtime 880s ok 2 /repository/search-paths/prepend 880s # End of search-paths tests 880s # Start of library-paths tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1YT252/repository/library-paths/default/.dirs/runtime 880s ok 3 /repository/library-paths/default 880s ok - glib/repository-search-paths.test 880s # Running test: glib/power-profile-monitor-portal.test 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1YT252/repository/library-paths/prepend/.dirs/runtime 880s ok 4 /repository/library-paths/prepend 880s # End of library-paths tests 880s # End of repository tests 880s TAP version 13 880s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 880s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 880s 1..2 880s ok - glib/power-profile-monitor-portal.test 880s # Running test: glib/slice.test 880s TAP version 14 880s # random seed: R02S990647a1a0c2e58444ca7e5926954b5e 880s 1..3 880s # Start of slice tests 880s ok 1 /slice/copy 880s ok 2 /slice/chain 880s ok 3 /slice/allocate 880s # End of slice tests 880s ok - glib/slice.test 880s # Running test: glib/macros-c-99.test 880s TAP version 14 880s # random seed: R02S3e5dd562d8c2ed06beca58d504be2410 880s 1..4 880s # Start of C tests 880s ok 1 /C/standard-99 880s # End of C tests 880s # Start of alignof tests 880s ok 2 /alignof/fallback 880s # End of alignof tests 880s # Start of assert tests 880s ok 3 /assert/static 880s # End of assert tests 880s # Start of struct tests 880s ok 4 /struct/sizeof_member 880s # End of struct tests 880s ok - glib/macros-c-99.test 880s # Running test: glib/checksum.test 880s TAP version 14 880s # random seed: R02S74f8403460bf16fa3551861c3e8fdad2 880s 1..1851 880s # Start of checksum tests 880s ok 1 /checksum/unsupported 880s # Start of MD5 tests 880s ok 2 /checksum/MD5/0 880s ok 3 /checksum/MD5/1 880s ok 4 /checksum/MD5/2 880s ok 5 /checksum/MD5/3 880s ok 6 /checksum/MD5/4 880s ok 7 /checksum/MD5/5 880s ok 8 /checksum/MD5/6 880s ok 9 /checksum/MD5/7 880s ok 10 /checksum/MD5/8 880s ok 11 /checksum/MD5/9 880s ok 12 /checksum/MD5/10 880s ok 13 /checksum/MD5/11 880s ok 14 /checksum/MD5/12 880s ok 15 /checksum/MD5/13 880s ok 16 /checksum/MD5/14 880s ok 17 /checksum/MD5/15 880s ok 18 /checksum/MD5/16 880s ok 19 /checksum/MD5/17 880s ok 20 /checksum/MD5/18 880s ok 21 /checksum/MD5/19 880s ok 22 /checksum/MD5/20 880s ok 23 /checksum/MD5/21 880s ok 24 /checksum/MD5/22 880s ok 25 /checksum/MD5/23 880s ok 26 /checksum/MD5/24 880s ok 27 /checksum/MD5/25 880s ok 28 /checksum/MD5/26 880s ok 29 /checksum/MD5/27 880s ok 30 /checksum/MD5/28 880s ok 31 /checksum/MD5/29 880s ok 32 /checksum/MD5/30 880s ok 33 /checksum/MD5/31 880s ok 34 /checksum/MD5/32 880s ok 35 /checksum/MD5/33 880s ok 36 /checksum/MD5/34 880s ok 37 /checksum/MD5/35 880s ok 38 /checksum/MD5/36 880s ok 39 /checksum/MD5/37 880s ok 40 /checksum/MD5/38 880s ok 41 /checksum/MD5/39 880s ok 42 /checksum/MD5/40 880s ok 43 /checksum/MD5/41 880s ok 44 /checksum/MD5/42 880s ok 45 /checksum/MD5/43 880s ok 46 /checksum/MD5/44 880s ok 47 /checksum/MD5/45 880s ok 48 /checksum/MD5/46 880s ok 49 /checksum/MD5/47 880s ok 50 /checksum/MD5/48 880s ok 51 /checksum/MD5/49 880s ok 52 /checksum/MD5/50 880s ok 53 /checksum/MD5/51 880s ok 54 /checksum/MD5/52 880s ok 55 /checksum/MD5/53 880s ok 56 /checksum/MD5/54 880s ok 57 /checksum/MD5/55 880s ok 58 /checksum/MD5/56 880s ok 59 /checksum/MD5/57 880s ok 60 /checksum/MD5/58 880s ok 61 /checksum/MD5/59 880s ok 62 /checksum/MD5/60 880s ok 63 /checksum/MD5/61 880s ok 64 /checksum/MD5/62 880s ok 65 /checksum/MD5/63 880s ok 66 /checksum/MD5/64 880s ok 67 /checksum/MD5/65 880s ok 68 /checksum/MD5/66 880s ok 69 /checksum/MD5/67 880s ok 70 /checksum/MD5/68 880s ok 71 /checksum/MD5/69 880s ok 72 /checksum/MD5/70 880s ok 73 /checksum/MD5/71 880s ok 74 /checksum/MD5/72 880s ok 75 /checksum/MD5/73 880s ok 76 /checksum/MD5/74 880s ok 77 /checksum/MD5/75 880s ok 78 /checksum/MD5/76 880s ok 79 /checksum/MD5/77 880s ok 80 /checksum/MD5/78 880s ok 81 /checksum/MD5/79 880s ok 82 /checksum/MD5/80 880s ok 83 /checksum/MD5/81 880s ok 84 /checksum/MD5/82 880s ok 85 /checksum/MD5/83 880s ok 86 /checksum/MD5/84 880s ok 87 /checksum/MD5/85 880s ok 88 /checksum/MD5/86 880s ok 89 /checksum/MD5/87 880s ok 90 /checksum/MD5/88 880s ok 91 /checksum/MD5/89 880s ok 92 /checksum/MD5/90 880s ok 93 /checksum/MD5/91 880s ok 94 /checksum/MD5/92 880s ok 95 /checksum/MD5/93 880s ok 96 /checksum/MD5/94 880s ok 97 /checksum/MD5/95 880s ok 98 /checksum/MD5/96 880s ok 99 /checksum/MD5/97 880s ok 100 /checksum/MD5/98 880s ok 101 /checksum/MD5/99 880s ok 102 /checksum/MD5/100 880s ok 103 /checksum/MD5/101 880s ok 104 /checksum/MD5/102 880s ok 105 /checksum/MD5/103 880s ok 106 /checksum/MD5/104 880s ok 107 /checksum/MD5/105 880s ok 108 /checksum/MD5/106 880s ok 109 /checksum/MD5/107 880s ok 110 /checksum/MD5/108 880s ok 111 /checksum/MD5/109 880s ok 112 /checksum/MD5/110 880s ok 113 /checksum/MD5/111 880s ok 114 /checksum/MD5/112 880s ok 115 /checksum/MD5/113 880s ok 116 /checksum/MD5/114 880s ok 117 /checksum/MD5/115 880s ok 118 /checksum/MD5/116 880s ok 119 /checksum/MD5/117 880s ok 120 /checksum/MD5/118 880s ok 121 /checksum/MD5/119 880s ok 122 /checksum/MD5/120 880s ok 123 /checksum/MD5/121 880s ok 124 /checksum/MD5/122 880s ok 125 /checksum/MD5/123 880s ok 126 /checksum/MD5/124 880s ok 127 /checksum/MD5/125 880s ok 128 /checksum/MD5/126 880s ok 129 /checksum/MD5/127 880s ok 130 /checksum/MD5/128 880s ok 131 /checksum/MD5/129 880s ok 132 /checksum/MD5/130 880s ok 133 /checksum/MD5/131 880s ok 134 /checksum/MD5/132 880s ok 135 /checksum/MD5/133 880s ok 136 /checksum/MD5/134 880s ok 137 /checksum/MD5/135 880s ok 138 /checksum/MD5/136 880s ok 139 /checksum/MD5/137 880s ok 140 /checksum/MD5/138 880s ok 141 /checksum/MD5/139 880s ok 142 /checksum/MD5/140 880s ok 143 /checksum/MD5/141 880s ok 144 /checksum/MD5/142 880s ok 145 /checksum/MD5/143 880s ok 146 /checksum/MD5/144 880s ok 147 /checksum/MD5/145 880s ok 148 /checksum/MD5/146 880s ok 149 /checksum/MD5/147 880s ok 150 /checksum/MD5/148 880s ok 151 /checksum/MD5/149 880s ok 152 /checksum/MD5/150 880s ok 153 /checksum/MD5/151 880s ok 154 /checksum/MD5/152 880s ok 155 /checksum/MD5/153 880s ok 156 /checksum/MD5/154 880s ok 157 /checksum/MD5/155 880s ok 158 /checksum/MD5/156 880s ok 159 /checksum/MD5/157 880s ok 160 /checksum/MD5/158 880s ok 161 /checksum/MD5/159 880s ok 162 /checksum/MD5/160 880s ok 163 /checksum/MD5/161 880s ok 164 /checksum/MD5/162 880s ok 165 /checksum/MD5/163 880s ok 166 /checksum/MD5/164 880s ok 167 /checksum/MD5/165 880s ok 168 /checksum/MD5/166 880s ok 169 /checksum/MD5/167 880s ok 170 /checksum/MD5/168 880s ok 171 /checksum/MD5/169 880s ok 172 /checksum/MD5/170 880s ok 173 /checksum/MD5/171 880s ok 174 /checksum/MD5/172 880s ok 175 /checksum/MD5/173 880s ok 176 /checksum/MD5/174 880s ok 177 /checksum/MD5/175 880s ok 178 /checksum/MD5/176 880s ok 179 /checksum/MD5/177 880s ok 180 /checksum/MD5/178 880s ok 181 /checksum/MD5/179 880s ok 182 /checksum/MD5/180 880s ok 183 /checksum/MD5/181 880s ok 184 /checksum/MD5/182 880s ok 185 /checksum/MD5/183 880s ok 186 /checksum/MD5/string 880s ok 187 /checksum/MD5/bytes 880s # Start of reset tests 880s ok 188 /checksum/MD5/reset/0 880s ok 189 /checksum/MD5/reset/1 880s ok 190 /checksum/MD5/reset/2 880s ok 191 /checksum/MD5/reset/3 880s ok 192 /checksum/MD5/reset/4 880s ok 193 /checksum/MD5/reset/5 880s ok 194 /checksum/MD5/reset/6 880s ok 195 /checksum/MD5/reset/7 880s ok 196 /checksum/MD5/reset/8 880s ok 197 /checksum/MD5/reset/9 880s ok 198 /checksum/MD5/reset/10 880s ok 199 /checksum/MD5/reset/11 880s ok 200 /checksum/MD5/reset/12 880s ok 201 /checksum/MD5/reset/13 880s ok 202 /checksum/MD5/reset/14 880s ok 203 /checksum/MD5/reset/15 880s ok 204 /checksum/MD5/reset/16 880s ok 205 /checksum/MD5/reset/17 880s ok 206 /checksum/MD5/reset/18 880s ok 207 /checksum/MD5/reset/19 880s ok 208 /checksum/MD5/reset/20 880s ok 209 /checksum/MD5/reset/21 880s ok 210 /checksum/MD5/reset/22 880s ok 211 /checksum/MD5/reset/23 880s ok 212 /checksum/MD5/reset/24 880s ok 213 /checksum/MD5/reset/25 880s ok 214 /checksum/MD5/reset/26 880s ok 215 /checksum/MD5/reset/27 880s ok 216 /checksum/MD5/reset/28 880s ok 217 /checksum/MD5/reset/29 880s ok 218 /checksum/MD5/reset/30 880s ok 219 /checksum/MD5/reset/31 880s ok 220 /checksum/MD5/reset/32 880s ok 221 /checksum/MD5/reset/33 880s ok 222 /checksum/MD5/reset/34 880s ok 223 /checksum/MD5/reset/35 880s ok 224 /checksum/MD5/reset/36 880s ok 225 /checksum/MD5/reset/37 880s ok 226 /checksum/MD5/reset/38 880s ok 227 /checksum/MD5/reset/39 880s ok 228 /checksum/MD5/reset/40 880s ok 229 /checksum/MD5/reset/41 880s ok 230 /checksum/MD5/reset/42 880s ok 231 /checksum/MD5/reset/43 880s ok 232 /checksum/MD5/reset/44 880s ok 233 /checksum/MD5/reset/45 880s ok 234 /checksum/MD5/reset/46 880s ok 235 /checksum/MD5/reset/47 880s ok 236 /checksum/MD5/reset/48 880s ok 237 /checksum/MD5/reset/49 880s ok 238 /checksum/MD5/reset/50 880s ok 239 /checksum/MD5/reset/51 880s ok 240 /checksum/MD5/reset/52 880s ok 241 /checksum/MD5/reset/53 880s ok 242 /checksum/MD5/reset/54 880s ok 243 /checksum/MD5/reset/55 880s ok 244 /checksum/MD5/reset/56 880s ok 245 /checksum/MD5/reset/57 880s ok 246 /checksum/MD5/reset/58 880s ok 247 /checksum/MD5/reset/59 880s ok 248 /checksum/MD5/reset/60 880s ok 249 /checksum/MD5/reset/61 880s ok 250 /checksum/MD5/reset/62 880s ok 251 /checksum/MD5/reset/63 880s ok 252 /checksum/MD5/reset/64 880s ok 253 /checksum/MD5/reset/65 880s ok 254 /checksum/MD5/reset/66 880s ok 255 /checksum/MD5/reset/67 880s ok 256 /checksum/MD5/reset/68 880s ok 257 /checksum/MD5/reset/69 880s ok 258 /checksum/MD5/reset/70 880s ok 259 /checksum/MD5/reset/71 880s ok 260 /checksum/MD5/reset/72 880s ok 261 /checksum/MD5/reset/73 880s ok 262 /checksum/MD5/reset/74 880s ok 263 /checksum/MD5/reset/75 880s ok 264 /checksum/MD5/reset/76 880s ok 265 /checksum/MD5/reset/77 880s ok 266 /checksum/MD5/reset/78 880s ok 267 /checksum/MD5/reset/79 880s ok 268 /checksum/MD5/reset/80 880s ok 269 /checksum/MD5/reset/81 880s ok 270 /checksum/MD5/reset/82 880s ok 271 /checksum/MD5/reset/83 880s ok 272 /checksum/MD5/reset/84 880s ok 273 /checksum/MD5/reset/85 880s ok 274 /checksum/MD5/reset/86 880s ok 275 /checksum/MD5/reset/87 880s ok 276 /checksum/MD5/reset/88 880s ok 277 /checksum/MD5/reset/89 880s ok 278 /checksum/MD5/reset/90 880s ok 279 /checksum/MD5/reset/91 880s ok 280 /checksum/MD5/reset/92 880s ok 281 /checksum/MD5/reset/93 880s ok 282 /checksum/MD5/reset/94 880s ok 283 /checksum/MD5/reset/95 880s ok 284 /checksum/MD5/reset/96 880s ok 285 /checksum/MD5/reset/97 880s ok 286 /checksum/MD5/reset/98 880s ok 287 /checksum/MD5/reset/99 880s ok 288 /checksum/MD5/reset/100 880s ok 289 /checksum/MD5/reset/101 880s ok 290 /checksum/MD5/reset/102 880s ok 291 /checksum/MD5/reset/103 880s ok 292 /checksum/MD5/reset/104 880s ok 293 /checksum/MD5/reset/105 880s ok 294 /checksum/MD5/reset/106 880s ok 295 /checksum/MD5/reset/107 880s ok 296 /checksum/MD5/reset/108 880s ok 297 /checksum/MD5/reset/109 880s ok 298 /checksum/MD5/reset/110 880s ok 299 /checksum/MD5/reset/111 880s ok 300 /checksum/MD5/reset/112 880s ok 301 /checksum/MD5/reset/113 880s ok 302 /checksum/MD5/reset/114 880s ok 303 /checksum/MD5/reset/115 880s ok 304 /checksum/MD5/reset/116 880s ok 305 /checksum/MD5/reset/117 880s ok 306 /checksum/MD5/reset/118 880s ok 307 /checksum/MD5/reset/119 880s ok 308 /checksum/MD5/reset/120 880s ok 309 /checksum/MD5/reset/121 880s ok 310 /checksum/MD5/reset/122 880s ok 311 /checksum/MD5/reset/123 880s ok 312 /checksum/MD5/reset/124 880s ok 313 /checksum/MD5/reset/125 880s ok 314 /checksum/MD5/reset/126 880s ok 315 /checksum/MD5/reset/127 880s ok 316 /checksum/MD5/reset/128 880s ok 317 /checksum/MD5/reset/129 880s ok 318 /checksum/MD5/reset/130 880s ok 319 /checksum/MD5/reset/131 880s ok 320 /checksum/MD5/reset/132 880s ok 321 /checksum/MD5/reset/133 880s ok 322 /checksum/MD5/reset/134 880s ok 323 /checksum/MD5/reset/135 880s ok 324 /checksum/MD5/reset/136 880s ok 325 /checksum/MD5/reset/137 880s ok 326 /checksum/MD5/reset/138 880s ok 327 /checksum/MD5/reset/139 880s ok 328 /checksum/MD5/reset/140 880s ok 329 /checksum/MD5/reset/141 880s ok 330 /checksum/MD5/reset/142 880s ok 331 /checksum/MD5/reset/143 880s ok 332 /checksum/MD5/reset/144 880s ok 333 /checksum/MD5/reset/145 880s ok 334 /checksum/MD5/reset/146 880s ok 335 /checksum/MD5/reset/147 880s ok 336 /checksum/MD5/reset/148 880s ok 337 /checksum/MD5/reset/149 880s ok 338 /checksum/MD5/reset/150 880s ok 339 /checksum/MD5/reset/151 880s ok 340 /checksum/MD5/reset/152 880s ok 341 /checksum/MD5/reset/153 880s ok 342 /checksum/MD5/reset/154 880s ok 343 /checksum/MD5/reset/155 880s ok 344 /checksum/MD5/reset/156 880s ok 345 /checksum/MD5/reset/157 880s ok 346 /checksum/MD5/reset/158 880s ok 347 /checksum/MD5/reset/159 880s ok 348 /checksum/MD5/reset/160 880s ok 349 /checksum/MD5/reset/161 880s ok 350 /checksum/MD5/reset/162 880s ok 351 /checksum/MD5/reset/163 880s ok 352 /checksum/MD5/reset/164 880s ok 353 /checksum/MD5/reset/165 880s ok 354 /checksum/MD5/reset/166 880s ok 355 /checksum/MD5/reset/167 880s ok 356 /checksum/MD5/reset/168 880s ok 357 /checksum/MD5/reset/169 880s ok 358 /checksum/MD5/reset/170 880s ok 359 /checksum/MD5/reset/171 880s ok 360 /checksum/MD5/reset/172 880s ok 361 /checksum/MD5/reset/173 880s ok 362 /checksum/MD5/reset/174 880s ok 363 /checksum/MD5/reset/175 880s ok 364 /checksum/MD5/reset/176 880s ok 365 /checksum/MD5/reset/177 880s ok 366 /checksum/MD5/reset/178 880s ok 367 /checksum/MD5/reset/179 880s ok 368 /checksum/MD5/reset/180 880s ok 369 /checksum/MD5/reset/181 880s ok 370 /checksum/MD5/reset/182 880s ok 371 /checksum/MD5/reset/183 880s # End of reset tests 880s # End of MD5 tests 880s # Start of SHA1 tests 880s ok 372 /checksum/SHA1/0 880s ok 373 /checksum/SHA1/1 880s ok 374 /checksum/SHA1/2 880s ok 375 /checksum/SHA1/3 880s ok 376 /checksum/SHA1/4 880s ok 377 /checksum/SHA1/5 880s ok 378 /checksum/SHA1/6 880s ok 379 /checksum/SHA1/7 880s ok 380 /checksum/SHA1/8 880s ok 381 /checksum/SHA1/9 880s ok 382 /checksum/SHA1/10 880s ok 383 /checksum/SHA1/11 880s ok 384 /checksum/SHA1/12 880s ok 385 /checksum/SHA1/13 880s ok 386 /checksum/SHA1/14 880s ok 387 /checksum/SHA1/15 880s ok 388 /checksum/SHA1/16 880s ok 389 /checksum/SHA1/17 880s ok 390 /checksum/SHA1/18 880s ok 391 /checksum/SHA1/19 880s ok 392 /checksum/SHA1/20 880s ok 393 /checksum/SHA1/21 880s ok 394 /checksum/SHA1/22 880s ok 395 /checksum/SHA1/23 880s ok 396 /checksum/SHA1/24 880s ok 397 /checksum/SHA1/25 880s ok 398 /checksum/SHA1/26 880s ok 399 /checksum/SHA1/27 880s ok 400 /checksum/SHA1/28 880s ok 401 /checksum/SHA1/29 880s ok 402 /checksum/SHA1/30 880s ok 403 /checksum/SHA1/31 880s ok 404 /checksum/SHA1/32 880s ok 405 /checksum/SHA1/33 880s ok 406 /checksum/SHA1/34 880s ok 407 /checksum/SHA1/35 880s ok 408 /checksum/SHA1/36 880s ok 409 /checksum/SHA1/37 880s ok 410 /checksum/SHA1/38 880s ok 411 /checksum/SHA1/39 880s ok 412 /checksum/SHA1/40 880s ok 413 /checksum/SHA1/41 880s ok 414 /checksum/SHA1/42 880s ok 415 /checksum/SHA1/43 880s ok 416 /checksum/SHA1/44 880s ok 417 /checksum/SHA1/45 880s ok 418 /checksum/SHA1/46 880s ok 419 /checksum/SHA1/47 880s ok 420 /checksum/SHA1/48 880s ok 421 /checksum/SHA1/49 880s ok 422 /checksum/SHA1/50 880s ok 423 /checksum/SHA1/51 880s ok 424 /checksum/SHA1/52 880s ok 425 /checksum/SHA1/53 880s ok 426 /checksum/SHA1/54 880s ok 427 /checksum/SHA1/55 880s ok 428 /checksum/SHA1/56 880s ok 429 /checksum/SHA1/57 880s ok 430 /checksum/SHA1/58 880s ok 431 /checksum/SHA1/59 880s ok 432 /checksum/SHA1/60 880s ok 433 /checksum/SHA1/61 880s ok 434 /checksum/SHA1/62 880s ok 435 /checksum/SHA1/63 880s ok 436 /checksum/SHA1/64 880s ok 437 /checksum/SHA1/65 880s ok 438 /checksum/SHA1/66 880s ok 439 /checksum/SHA1/67 880s ok 440 /checksum/SHA1/68 880s ok 441 /checksum/SHA1/69 880s ok 442 /checksum/SHA1/70 880s ok 443 /checksum/SHA1/71 880s ok 444 /checksum/SHA1/72 880s ok 445 /checksum/SHA1/73 880s ok 446 /checksum/SHA1/74 880s ok 447 /checksum/SHA1/75 880s ok 448 /checksum/SHA1/76 880s ok 449 /checksum/SHA1/77 880s ok 450 /checksum/SHA1/78 880s ok 451 /checksum/SHA1/79 880s ok 452 /checksum/SHA1/80 880s ok 453 /checksum/SHA1/81 880s ok 454 /checksum/SHA1/82 880s ok 455 /checksum/SHA1/83 880s ok 456 /checksum/SHA1/84 880s ok 457 /checksum/SHA1/85 880s ok 458 /checksum/SHA1/86 880s ok 459 /checksum/SHA1/87 880s ok 460 /checksum/SHA1/88 880s ok 461 /checksum/SHA1/89 880s ok 462 /checksum/SHA1/90 880s ok 463 /checksum/SHA1/91 880s ok 464 /checksum/SHA1/92 880s ok 465 /checksum/SHA1/93 880s ok 466 /checksum/SHA1/94 880s ok 467 /checksum/SHA1/95 880s ok 468 /checksum/SHA1/96 880s ok 469 /checksum/SHA1/97 880s ok 470 /checksum/SHA1/98 880s ok 471 /checksum/SHA1/99 880s ok 472 /checksum/SHA1/100 880s ok 473 /checksum/SHA1/101 880s ok 474 /checksum/SHA1/102 880s ok 475 /checksum/SHA1/103 880s ok 476 /checksum/SHA1/104 880s ok 477 /checksum/SHA1/105 880s ok 478 /checksum/SHA1/106 880s ok 479 /checksum/SHA1/107 880s ok 480 /checksum/SHA1/108 880s ok 481 /checksum/SHA1/109 880s ok 482 /checksum/SHA1/110 880s ok 483 /checksum/SHA1/111 880s ok 484 /checksum/SHA1/112 880s ok 485 /checksum/SHA1/113 880s ok 486 /checksum/SHA1/114 880s ok 487 /checksum/SHA1/115 880s ok 488 /checksum/SHA1/116 880s ok 489 /checksum/SHA1/117 880s ok 490 /checksum/SHA1/118 880s ok 491 /checksum/SHA1/119 880s ok 492 /checksum/SHA1/120 880s ok 493 /checksum/SHA1/121 880s ok 494 /checksum/SHA1/122 880s ok 495 /checksum/SHA1/123 880s ok 496 /checksum/SHA1/124 880s ok 497 /checksum/SHA1/125 880s ok 498 /checksum/SHA1/126 880s ok 499 /checksum/SHA1/127 880s ok 500 /checksum/SHA1/128 880s ok 501 /checksum/SHA1/129 880s ok 502 /checksum/SHA1/130 880s ok 503 /checksum/SHA1/131 880s ok 504 /checksum/SHA1/132 880s ok 505 /checksum/SHA1/133 880s ok 506 /checksum/SHA1/134 880s ok 507 /checksum/SHA1/135 880s ok 508 /checksum/SHA1/136 880s ok 509 /checksum/SHA1/137 880s ok 510 /checksum/SHA1/138 880s ok 511 /checksum/SHA1/139 880s ok 512 /checksum/SHA1/140 880s ok 513 /checksum/SHA1/141 880s ok 514 /checksum/SHA1/142 880s ok 515 /checksum/SHA1/143 880s ok 516 /checksum/SHA1/144 880s ok 517 /checksum/SHA1/145 880s ok 518 /checksum/SHA1/146 880s ok 519 /checksum/SHA1/147 880s ok 520 /checksum/SHA1/148 880s ok 521 /checksum/SHA1/149 880s ok 522 /checksum/SHA1/150 880s ok 523 /checksum/SHA1/151 880s ok 524 /checksum/SHA1/152 880s ok 525 /checksum/SHA1/153 880s ok 526 /checksum/SHA1/154 880s ok 527 /checksum/SHA1/155 880s ok 528 /checksum/SHA1/156 880s ok 529 /checksum/SHA1/157 880s ok 530 /checksum/SHA1/158 880s ok 531 /checksum/SHA1/159 880s ok 532 /checksum/SHA1/160 880s ok 533 /checksum/SHA1/161 880s ok 534 /checksum/SHA1/162 880s ok 535 /checksum/SHA1/163 880s ok 536 /checksum/SHA1/164 880s ok 537 /checksum/SHA1/165 880s ok 538 /checksum/SHA1/166 880s ok 539 /checksum/SHA1/167 880s ok 540 /checksum/SHA1/168 880s ok 541 /checksum/SHA1/169 880s ok 542 /checksum/SHA1/170 880s ok 543 /checksum/SHA1/171 880s ok 544 /checksum/SHA1/172 881s ok 545 /checksum/SHA1/173 881s ok 546 /checksum/SHA1/174 881s ok 547 /checksum/SHA1/175 881s ok 548 /checksum/SHA1/176 881s ok 549 /checksum/SHA1/177 881s ok 550 /checksum/SHA1/178 881s ok 551 /checksum/SHA1/179 881s ok 552 /checksum/SHA1/180 881s ok 553 /checksum/SHA1/181 881s ok 554 /checksum/SHA1/182 881s ok 555 /checksum/SHA1/183 881s ok 556 /checksum/SHA1/string 881s ok 557 /checksum/SHA1/bytes 881s # Start of reset tests 881s ok 558 /checksum/SHA1/reset/0 881s ok 559 /checksum/SHA1/reset/1 881s ok 560 /checksum/SHA1/reset/2 881s ok 561 /checksum/SHA1/reset/3 881s ok 562 /checksum/SHA1/reset/4 881s ok 563 /checksum/SHA1/reset/5 881s ok 564 /checksum/SHA1/reset/6 881s ok 565 /checksum/SHA1/reset/7 881s ok 566 /checksum/SHA1/reset/8 881s ok 567 /checksum/SHA1/reset/9 881s ok 568 /checksum/SHA1/reset/10 881s ok 569 /checksum/SHA1/reset/11 881s ok 570 /checksum/SHA1/reset/12 881s ok 571 /checksum/SHA1/reset/13 881s ok 572 /checksum/SHA1/reset/14 881s ok 573 /checksum/SHA1/reset/15 881s ok 574 /checksum/SHA1/reset/16 881s ok 575 /checksum/SHA1/reset/17 881s ok 576 /checksum/SHA1/reset/18 881s ok 577 /checksum/SHA1/reset/19 881s ok 578 /checksum/SHA1/reset/20 881s ok 579 /checksum/SHA1/reset/21 881s ok 580 /checksum/SHA1/reset/22 881s ok 581 /checksum/SHA1/reset/23 881s ok 582 /checksum/SHA1/reset/24 881s ok 583 /checksum/SHA1/reset/25 881s ok 584 /checksum/SHA1/reset/26 881s ok 585 /checksum/SHA1/reset/27 881s ok 586 /checksum/SHA1/reset/28 881s ok 587 /checksum/SHA1/reset/29 881s ok 588 /checksum/SHA1/reset/30 881s ok 589 /checksum/SHA1/reset/31 881s ok 590 /checksum/SHA1/reset/32 881s ok 591 /checksum/SHA1/reset/33 881s ok 592 /checksum/SHA1/reset/34 881s ok 593 /checksum/SHA1/reset/35 881s ok 594 /checksum/SHA1/reset/36 881s ok 595 /checksum/SHA1/reset/37 881s ok 596 /checksum/SHA1/reset/38 881s ok 597 /checksum/SHA1/reset/39 881s ok 598 /checksum/SHA1/reset/40 881s ok 599 /checksum/SHA1/reset/41 881s ok 600 /checksum/SHA1/reset/42 881s ok 601 /checksum/SHA1/reset/43 881s ok 602 /checksum/SHA1/reset/44 881s ok 603 /checksum/SHA1/reset/45 881s ok 604 /checksum/SHA1/reset/46 881s ok 605 /checksum/SHA1/reset/47 881s ok 606 /checksum/SHA1/reset/48 881s ok 607 /checksum/SHA1/reset/49 881s ok 608 /checksum/SHA1/reset/50 881s ok 609 /checksum/SHA1/reset/51 881s ok 610 /checksum/SHA1/reset/52 881s ok 611 /checksum/SHA1/reset/53 881s ok 612 /checksum/SHA1/reset/54 881s ok 613 /checksum/SHA1/reset/55 881s ok 614 /checksum/SHA1/reset/56 881s ok 615 /checksum/SHA1/reset/57 881s ok 616 /checksum/SHA1/reset/58 881s ok 617 /checksum/SHA1/reset/59 881s ok 618 /checksum/SHA1/reset/60 881s ok 619 /checksum/SHA1/reset/61 881s ok 620 /checksum/SHA1/reset/62 881s ok 621 /checksum/SHA1/reset/63 881s ok 622 /checksum/SHA1/reset/64 881s ok 623 /checksum/SHA1/reset/65 881s ok 624 /checksum/SHA1/reset/66 881s ok 625 /checksum/SHA1/reset/67 881s ok 626 /checksum/SHA1/reset/68 881s ok 627 /checksum/SHA1/reset/69 881s ok 628 /checksum/SHA1/reset/70 881s ok 629 /checksum/SHA1/reset/71 881s ok 630 /checksum/SHA1/reset/72 881s ok 631 /checksum/SHA1/reset/73 881s ok 632 /checksum/SHA1/reset/74 881s ok 633 /checksum/SHA1/reset/75 881s ok 634 /checksum/SHA1/reset/76 881s ok 635 /checksum/SHA1/reset/77 881s ok 636 /checksum/SHA1/reset/78 881s ok 637 /checksum/SHA1/reset/79 881s ok 638 /checksum/SHA1/reset/80 881s ok 639 /checksum/SHA1/reset/81 881s ok 640 /checksum/SHA1/reset/82 881s ok 641 /checksum/SHA1/reset/83 881s ok 642 /checksum/SHA1/reset/84 881s ok 643 /checksum/SHA1/reset/85 881s ok 644 /checksum/SHA1/reset/86 881s ok 645 /checksum/SHA1/reset/87 881s ok 646 /checksum/SHA1/reset/88 881s ok 647 /checksum/SHA1/reset/89 881s ok 648 /checksum/SHA1/reset/90 881s ok 649 /checksum/SHA1/reset/91 881s ok 650 /checksum/SHA1/reset/92 881s ok 651 /checksum/SHA1/reset/93 881s ok 652 /checksum/SHA1/reset/94 881s ok 653 /checksum/SHA1/reset/95 881s ok 654 /checksum/SHA1/reset/96 881s ok 655 /checksum/SHA1/reset/97 881s ok 656 /checksum/SHA1/reset/98 881s ok 657 /checksum/SHA1/reset/99 881s ok 658 /checksum/SHA1/reset/100 881s ok 659 /checksum/SHA1/reset/101 881s ok 660 /checksum/SHA1/reset/102 881s ok 661 /checksum/SHA1/reset/103 881s ok 662 /checksum/SHA1/reset/104 881s ok 663 /checksum/SHA1/reset/105 881s ok 664 /checksum/SHA1/reset/106 881s ok 665 /checksum/SHA1/reset/107 881s ok 666 /checksum/SHA1/reset/108 881s ok 667 /checksum/SHA1/reset/109 881s ok 668 /checksum/SHA1/reset/110 881s ok 669 /checksum/SHA1/reset/111 881s ok 670 /checksum/SHA1/reset/112 881s ok 671 /checksum/SHA1/reset/113 881s ok 672 /checksum/SHA1/reset/114 881s ok 673 /checksum/SHA1/reset/115 881s ok 674 /checksum/SHA1/reset/116 881s ok 675 /checksum/SHA1/reset/117 881s ok 676 /checksum/SHA1/reset/118 881s ok 677 /checksum/SHA1/reset/119 881s ok 678 /checksum/SHA1/reset/120 881s ok 679 /checksum/SHA1/reset/121 881s ok 680 /checksum/SHA1/reset/122 881s ok 681 /checksum/SHA1/reset/123 881s ok 682 /checksum/SHA1/reset/124 881s ok 683 /checksum/SHA1/reset/125 881s ok 684 /checksum/SHA1/reset/126 881s ok 685 /checksum/SHA1/reset/127 881s ok 686 /checksum/SHA1/reset/128 881s ok 687 /checksum/SHA1/reset/129 881s ok 688 /checksum/SHA1/reset/130 881s ok 689 /checksum/SHA1/reset/131 881s ok 690 /checksum/SHA1/reset/132 881s ok 691 /checksum/SHA1/reset/133 881s ok 692 /checksum/SHA1/reset/134 881s ok 693 /checksum/SHA1/reset/135 881s ok 694 /checksum/SHA1/reset/136 881s ok 695 /checksum/SHA1/reset/137 881s ok 696 /checksum/SHA1/reset/138 881s ok 697 /checksum/SHA1/reset/139 881s ok 698 /checksum/SHA1/reset/140 881s ok 699 /checksum/SHA1/reset/141 881s ok 700 /checksum/SHA1/reset/142 881s ok 701 /checksum/SHA1/reset/143 881s ok 702 /checksum/SHA1/reset/144 881s ok 703 /checksum/SHA1/reset/145 881s ok 704 /checksum/SHA1/reset/146 881s ok 705 /checksum/SHA1/reset/147 881s ok 706 /checksum/SHA1/reset/148 881s ok 707 /checksum/SHA1/reset/149 881s ok 708 /checksum/SHA1/reset/150 881s ok 709 /checksum/SHA1/reset/151 881s ok 710 /checksum/SHA1/reset/152 881s ok 711 /checksum/SHA1/reset/153 881s ok 712 /checksum/SHA1/reset/154 881s ok 713 /checksum/SHA1/reset/155 881s ok 714 /checksum/SHA1/reset/156 881s ok 715 /checksum/SHA1/reset/157 881s ok 716 /checksum/SHA1/reset/158 881s ok 717 /checksum/SHA1/reset/159 881s ok 718 /checksum/SHA1/reset/160 881s ok 719 /checksum/SHA1/reset/161 881s ok 720 /checksum/SHA1/reset/162 881s ok 721 /checksum/SHA1/reset/163 881s ok 722 /checksum/SHA1/reset/164 881s ok 723 /checksum/SHA1/reset/165 881s ok 724 /checksum/SHA1/reset/166 881s ok 725 /checksum/SHA1/reset/167 881s ok 726 /checksum/SHA1/reset/168 881s ok 727 /checksum/SHA1/reset/169 881s ok 728 /checksum/SHA1/reset/170 881s ok 729 /checksum/SHA1/reset/171 881s ok 730 /checksum/SHA1/reset/172 881s ok 731 /checksum/SHA1/reset/173 881s ok 732 /checksum/SHA1/reset/174 881s ok 733 /checksum/SHA1/reset/175 881s ok 734 /checksum/SHA1/reset/176 881s ok 735 /checksum/SHA1/reset/177 881s ok 736 /checksum/SHA1/reset/178 881s ok 737 /checksum/SHA1/reset/179 881s ok 738 /checksum/SHA1/reset/180 881s ok 739 /checksum/SHA1/reset/181 881s ok 740 /checksum/SHA1/reset/182 881s ok 741 /checksum/SHA1/reset/183 881s # End of reset tests 881s # End of SHA1 tests 881s # Start of SHA256 tests 881s ok 742 /checksum/SHA256/0 881s ok 743 /checksum/SHA256/1 881s ok 744 /checksum/SHA256/2 881s ok 745 /checksum/SHA256/3 881s ok 746 /checksum/SHA256/4 881s ok 747 /checksum/SHA256/5 881s ok 748 /checksum/SHA256/6 881s ok 749 /checksum/SHA256/7 881s ok 750 /checksum/SHA256/8 881s ok 751 /checksum/SHA256/9 881s ok 752 /checksum/SHA256/10 881s ok 753 /checksum/SHA256/11 881s ok 754 /checksum/SHA256/12 881s ok 755 /checksum/SHA256/13 881s ok 756 /checksum/SHA256/14 881s ok 757 /checksum/SHA256/15 881s ok 758 /checksum/SHA256/16 881s ok 759 /checksum/SHA256/17 881s ok 760 /checksum/SHA256/18 881s ok 761 /checksum/SHA256/19 881s ok 762 /checksum/SHA256/20 881s ok 763 /checksum/SHA256/21 881s ok 764 /checksum/SHA256/22 881s ok 765 /checksum/SHA256/23 881s ok 766 /checksum/SHA256/24 881s ok 767 /checksum/SHA256/25 881s ok 768 /checksum/SHA256/26 881s ok 769 /checksum/SHA256/27 881s ok 770 /checksum/SHA256/28 881s ok 771 /checksum/SHA256/29 881s ok 772 /checksum/SHA256/30 881s ok 773 /checksum/SHA256/31 881s ok 774 /checksum/SHA256/32 881s ok 775 /checksum/SHA256/33 881s ok 776 /checksum/SHA256/34 881s ok 777 /checksum/SHA256/35 881s ok 778 /checksum/SHA256/36 881s ok 779 /checksum/SHA256/37 881s ok 780 /checksum/SHA256/38 881s ok 781 /checksum/SHA256/39 881s ok 782 /checksum/SHA256/40 881s ok 783 /checksum/SHA256/41 881s ok 784 /checksum/SHA256/42 881s ok 785 /checksum/SHA256/43 881s ok 786 /checksum/SHA256/44 881s ok 787 /checksum/SHA256/45 881s ok 788 /checksum/SHA256/46 881s ok 789 /checksum/SHA256/47 881s ok 790 /checksum/SHA256/48 881s ok 791 /checksum/SHA256/49 881s ok 792 /checksum/SHA256/50 881s ok 793 /checksum/SHA256/51 881s ok 794 /checksum/SHA256/52 881s ok 795 /checksum/SHA256/53 881s ok 796 /checksum/SHA256/54 881s ok 797 /checksum/SHA256/55 881s ok 798 /checksum/SHA256/56 881s ok 799 /checksum/SHA256/57 881s ok 800 /checksum/SHA256/58 881s ok 801 /checksum/SHA256/59 881s ok 802 /checksum/SHA256/60 881s ok 803 /checksum/SHA256/61 881s ok 804 /checksum/SHA256/62 881s ok 805 /checksum/SHA256/63 881s ok 806 /checksum/SHA256/64 881s ok 807 /checksum/SHA256/65 881s ok 808 /checksum/SHA256/66 881s ok 809 /checksum/SHA256/67 881s ok 810 /checksum/SHA256/68 881s ok 811 /checksum/SHA256/69 881s ok 812 /checksum/SHA256/70 881s ok 813 /checksum/SHA256/71 881s ok 814 /checksum/SHA256/72 881s ok 815 /checksum/SHA256/73 881s ok 816 /checksum/SHA256/74 881s ok 817 /checksum/SHA256/75 881s ok 818 /checksum/SHA256/76 881s ok 819 /checksum/SHA256/77 881s ok 820 /checksum/SHA256/78 881s ok 821 /checksum/SHA256/79 881s ok 822 /checksum/SHA256/80 881s ok 823 /checksum/SHA256/81 881s ok 824 /checksum/SHA256/82 881s ok 825 /checksum/SHA256/83 881s ok 826 /checksum/SHA256/84 881s ok 827 /checksum/SHA256/85 881s ok 828 /checksum/SHA256/86 881s ok 829 /checksum/SHA256/87 881s ok 830 /checksum/SHA256/88 881s ok 831 /checksum/SHA256/89 881s ok 832 /checksum/SHA256/90 881s ok 833 /checksum/SHA256/91 881s ok 834 /checksum/SHA256/92 881s ok 835 /checksum/SHA256/93 881s ok 836 /checksum/SHA256/94 881s ok 837 /checksum/SHA256/95 881s ok 838 /checksum/SHA256/96 881s ok 839 /checksum/SHA256/97 881s ok 840 /checksum/SHA256/98 881s ok 841 /checksum/SHA256/99 881s ok 842 /checksum/SHA256/100 881s ok 843 /checksum/SHA256/101 881s ok 844 /checksum/SHA256/102 881s ok 845 /checksum/SHA256/103 881s ok 846 /checksum/SHA256/104 881s ok 847 /checksum/SHA256/105 881s ok 848 /checksum/SHA256/106 881s ok 849 /checksum/SHA256/107 881s ok 850 /checksum/SHA256/108 881s ok 851 /checksum/SHA256/109 881s ok 852 /checksum/SHA256/110 881s ok 853 /checksum/SHA256/111 881s ok 854 /checksum/SHA256/112 881s ok 855 /checksum/SHA256/113 881s ok 856 /checksum/SHA256/114 881s ok 857 /checksum/SHA256/115 881s ok 858 /checksum/SHA256/116 881s ok 859 /checksum/SHA256/117 881s ok 860 /checksum/SHA256/118 881s ok 861 /checksum/SHA256/119 881s ok 862 /checksum/SHA256/120 881s ok 863 /checksum/SHA256/121 881s ok 864 /checksum/SHA256/122 881s ok 865 /checksum/SHA256/123 881s ok 866 /checksum/SHA256/124 881s ok 867 /checksum/SHA256/125 881s ok 868 /checksum/SHA256/126 881s ok 869 /checksum/SHA256/127 881s ok 870 /checksum/SHA256/128 881s ok 871 /checksum/SHA256/129 881s ok 872 /checksum/SHA256/130 881s ok 873 /checksum/SHA256/131 881s ok 874 /checksum/SHA256/132 881s ok 875 /checksum/SHA256/133 881s ok 876 /checksum/SHA256/134 881s ok 877 /checksum/SHA256/135 881s ok 878 /checksum/SHA256/136 881s ok 879 /checksum/SHA256/137 881s ok 880 /checksum/SHA256/138 881s ok 881 /checksum/SHA256/139 881s ok 882 /checksum/SHA256/140 881s ok 883 /checksum/SHA256/141 881s ok 884 /checksum/SHA256/142 881s ok 885 /checksum/SHA256/143 881s ok 886 /checksum/SHA256/144 881s ok 887 /checksum/SHA256/145 881s ok 888 /checksum/SHA256/146 881s ok 889 /checksum/SHA256/147 881s ok 890 /checksum/SHA256/148 881s ok 891 /checksum/SHA256/149 881s ok 892 /checksum/SHA256/150 881s ok 893 /checksum/SHA256/151 881s ok 894 /checksum/SHA256/152 881s ok 895 /checksum/SHA256/153 881s ok 896 /checksum/SHA256/154 881s ok 897 /checksum/SHA256/155 881s ok 898 /checksum/SHA256/156 881s ok 899 /checksum/SHA256/157 881s ok 900 /checksum/SHA256/158 881s ok 901 /checksum/SHA256/159 881s ok 902 /checksum/SHA256/160 881s ok 903 /checksum/SHA256/161 881s ok 904 /checksum/SHA256/162 881s ok 905 /checksum/SHA256/163 881s ok 906 /checksum/SHA256/164 881s ok 907 /checksum/SHA256/165 881s ok 908 /checksum/SHA256/166 881s ok 909 /checksum/SHA256/167 881s ok 910 /checksum/SHA256/168 881s ok 911 /checksum/SHA256/169 881s ok 912 /checksum/SHA256/170 881s ok 913 /checksum/SHA256/171 881s ok 914 /checksum/SHA256/172 881s ok 915 /checksum/SHA256/173 881s ok 916 /checksum/SHA256/174 881s ok 917 /checksum/SHA256/175 881s ok 918 /checksum/SHA256/176 881s ok 919 /checksum/SHA256/177 881s ok 920 /checksum/SHA256/178 881s ok 921 /checksum/SHA256/179 881s ok 922 /checksum/SHA256/180 881s ok 923 /checksum/SHA256/181 881s ok 924 /checksum/SHA256/182 881s ok 925 /checksum/SHA256/183 881s ok 926 /checksum/SHA256/string 881s ok 927 /checksum/SHA256/bytes 881s # Start of reset tests 881s ok 928 /checksum/SHA256/reset/0 881s ok 929 /checksum/SHA256/reset/1 881s ok 930 /checksum/SHA256/reset/2 881s ok 931 /checksum/SHA256/reset/3 881s ok 932 /checksum/SHA256/reset/4 881s ok 933 /checksum/SHA256/reset/5 881s ok 934 /checksum/SHA256/reset/6 881s ok 935 /checksum/SHA256/reset/7 881s ok 936 /checksum/SHA256/reset/8 881s ok 937 /checksum/SHA256/reset/9 881s ok 938 /checksum/SHA256/reset/10 881s ok 939 /checksum/SHA256/reset/11 881s ok 940 /checksum/SHA256/reset/12 881s ok 941 /checksum/SHA256/reset/13 881s ok 942 /checksum/SHA256/reset/14 881s ok 943 /checksum/SHA256/reset/15 881s ok 944 /checksum/SHA256/reset/16 881s ok 945 /checksum/SHA256/reset/17 881s ok 946 /checksum/SHA256/reset/18 881s ok 947 /checksum/SHA256/reset/19 881s ok 948 /checksum/SHA256/reset/20 881s ok 949 /checksum/SHA256/reset/21 881s ok 950 /checksum/SHA256/reset/22 881s ok 951 /checksum/SHA256/reset/23 881s ok 952 /checksum/SHA256/reset/24 881s ok 953 /checksum/SHA256/reset/25 881s ok 954 /checksum/SHA256/reset/26 881s ok 955 /checksum/SHA256/reset/27 881s ok 956 /checksum/SHA256/reset/28 881s ok 957 /checksum/SHA256/reset/29 881s ok 958 /checksum/SHA256/reset/30 881s ok 959 /checksum/SHA256/reset/31 881s ok 960 /checksum/SHA256/reset/32 881s ok 961 /checksum/SHA256/reset/33 881s ok 962 /checksum/SHA256/reset/34 881s ok 963 /checksum/SHA256/reset/35 881s ok 964 /checksum/SHA256/reset/36 881s ok 965 /checksum/SHA256/reset/37 881s ok 966 /checksum/SHA256/reset/38 881s ok 967 /checksum/SHA256/reset/39 881s ok 968 /checksum/SHA256/reset/40 881s ok 969 /checksum/SHA256/reset/41 881s ok 970 /checksum/SHA256/reset/42 881s ok 971 /checksum/SHA256/reset/43 881s ok 972 /checksum/SHA256/reset/44 881s ok 973 /checksum/SHA256/reset/45 881s ok 974 /checksum/SHA256/reset/46 881s ok 975 /checksum/SHA256/reset/47 881s ok 976 /checksum/SHA256/reset/48 881s ok 977 /checksum/SHA256/reset/49 881s ok 978 /checksum/SHA256/reset/50 881s ok 979 /checksum/SHA256/reset/51 881s ok 980 /checksum/SHA256/reset/52 881s ok 981 /checksum/SHA256/reset/53 881s ok 982 /checksum/SHA256/reset/54 881s ok 983 /checksum/SHA256/reset/55 881s ok 984 /checksum/SHA256/reset/56 881s ok 985 /checksum/SHA256/reset/57 881s ok 986 /checksum/SHA256/reset/58 881s ok 987 /checksum/SHA256/reset/59 881s ok 988 /checksum/SHA256/reset/60 881s ok 989 /checksum/SHA256/reset/61 881s ok 990 /checksum/SHA256/reset/62 881s ok 991 /checksum/SHA256/reset/63 881s ok 992 /checksum/SHA256/reset/64 881s ok 993 /checksum/SHA256/reset/65 881s ok 994 /checksum/SHA256/reset/66 881s ok 995 /checksum/SHA256/reset/67 881s ok 996 /checksum/SHA256/reset/68 881s ok 997 /checksum/SHA256/reset/69 881s ok 998 /checksum/SHA256/reset/70 881s ok 999 /checksum/SHA256/reset/71 881s ok 1000 /checksum/SHA256/reset/72 881s ok 1001 /checksum/SHA256/reset/73 881s ok 1002 /checksum/SHA256/reset/74 881s ok 1003 /checksum/SHA256/reset/75 881s ok 1004 /checksum/SHA256/reset/76 881s ok 1005 /checksum/SHA256/reset/77 881s ok 1006 /checksum/SHA256/reset/78 881s ok 1007 /checksum/SHA256/reset/79 881s ok 1008 /checksum/SHA256/reset/80 881s ok 1009 /checksum/SHA256/reset/81 881s ok 1010 /checksum/SHA256/reset/82 881s ok 1011 /checksum/SHA256/reset/83 881s ok 1012 /checksum/SHA256/reset/84 881s ok 1013 /checksum/SHA256/reset/85 881s ok 1014 /checksum/SHA256/reset/86 881s ok 1015 /checksum/SHA256/reset/87 881s ok 1016 /checksum/SHA256/reset/88 881s ok 1017 /checksum/SHA256/reset/89 881s ok 1018 /checksum/SHA256/reset/90 881s ok 1019 /checksum/SHA256/reset/91 881s ok 1020 /checksum/SHA256/reset/92 881s ok 1021 /checksum/SHA256/reset/93 881s ok 1022 /checksum/SHA256/reset/94 881s ok 1023 /checksum/SHA256/reset/95 881s ok 1024 /checksum/SHA256/reset/96 881s ok 1025 /checksum/SHA256/reset/97 881s ok 1026 /checksum/SHA256/reset/98 881s ok 1027 /checksum/SHA256/reset/99 881s ok 1028 /checksum/SHA256/reset/100 881s ok 1029 /checksum/SHA256/reset/101 881s ok 1030 /checksum/SHA256/reset/102 881s ok 1031 /checksum/SHA256/reset/103 881s ok 1032 /checksum/SHA256/reset/104 881s ok 1033 /checksum/SHA256/reset/105 881s ok 1034 /checksum/SHA256/reset/106 881s ok 1035 /checksum/SHA256/reset/107 881s ok 1036 /checksum/SHA256/reset/108 881s ok 1037 /checksum/SHA256/reset/109 881s ok 1038 /checksum/SHA256/reset/110 881s ok 1039 /checksum/SHA256/reset/111 881s ok 1040 /checksum/SHA256/reset/112 881s ok 1041 /checksum/SHA256/reset/113 881s ok 1042 /checksum/SHA256/reset/114 881s ok 1043 /checksum/SHA256/reset/115 881s ok 1044 /checksum/SHA256/reset/116 881s ok 1045 /checksum/SHA256/reset/117 881s ok 1046 /checksum/SHA256/reset/118 881s ok 1047 /checksum/SHA256/reset/119 881s ok 1048 /checksum/SHA256/reset/120 881s ok 1049 /checksum/SHA256/reset/121 881s ok 1050 /checksum/SHA256/reset/122 881s ok 1051 /checksum/SHA256/reset/123 881s ok 1052 /checksum/SHA256/reset/124 881s ok 1053 /checksum/SHA256/reset/125 881s ok 1054 /checksum/SHA256/reset/126 881s ok 1055 /checksum/SHA256/reset/127 881s ok 1056 /checksum/SHA256/reset/128 881s ok 1057 /checksum/SHA256/reset/129 881s ok 1058 /checksum/SHA256/reset/130 881s ok 1059 /checksum/SHA256/reset/131 881s ok 1060 /checksum/SHA256/reset/132 881s ok 1061 /checksum/SHA256/reset/133 881s ok 1062 /checksum/SHA256/reset/134 881s ok 1063 /checksum/SHA256/reset/135 881s ok 1064 /checksum/SHA256/reset/136 881s ok 1065 /checksum/SHA256/reset/137 881s ok 1066 /checksum/SHA256/reset/138 881s ok 1067 /checksum/SHA256/reset/139 881s ok 1068 /checksum/SHA256/reset/140 881s ok 1069 /checksum/SHA256/reset/141 881s ok 1070 /checksum/SHA256/reset/142 881s ok 1071 /checksum/SHA256/reset/143 881s ok 1072 /checksum/SHA256/reset/144 881s ok 1073 /checksum/SHA256/reset/145 881s ok 1074 /checksum/SHA256/reset/146 881s ok 1075 /checksum/SHA256/reset/147 881s ok 1076 /checksum/SHA256/reset/148 881s ok 1077 /checksum/SHA256/reset/149 881s ok 1078 /checksum/SHA256/reset/150 881s ok 1079 /checksum/SHA256/reset/151 881s ok 1080 /checksum/SHA256/reset/152 881s ok 1081 /checksum/SHA256/reset/153 881s ok 1082 /checksum/SHA256/reset/154 881s ok 1083 /checksum/SHA256/reset/155 881s ok 1084 /checksum/SHA256/reset/156 881s ok 1085 /checksum/SHA256/reset/157 881s ok 1086 /checksum/SHA256/reset/158 881s ok 1087 /checksum/SHA256/reset/159 881s ok 1088 /checksum/SHA256/reset/160 881s ok 1089 /checksum/SHA256/reset/161 881s ok 1090 /checksum/SHA256/reset/162 881s ok 1091 /checksum/SHA256/reset/163 881s ok 1092 /checksum/SHA256/reset/164 881s ok 1093 /checksum/SHA256/reset/165 881s ok 1094 /checksum/SHA256/reset/166 881s ok 1095 /checksum/SHA256/reset/167 881s ok 1096 /checksum/SHA256/reset/168 881s ok 1097 /checksum/SHA256/reset/169 881s ok 1098 /checksum/SHA256/reset/170 881s ok 1099 /checksum/SHA256/reset/171 881s ok 1100 /checksum/SHA256/reset/172 881s ok 1101 /checksum/SHA256/reset/173 881s ok 1102 /checksum/SHA256/reset/174 881s ok 1103 /checksum/SHA256/reset/175 881s ok 1104 /checksum/SHA256/reset/176 881s ok 1105 /checksum/SHA256/reset/177 881s ok 1106 /checksum/SHA256/reset/178 881s ok 1107 /checksum/SHA256/reset/179 881s ok 1108 /checksum/SHA256/reset/180 881s ok 1109 /checksum/SHA256/reset/181 881s ok 1110 /checksum/SHA256/reset/182 881s ok 1111 /checksum/SHA256/reset/183 881s # End of reset tests 881s # End of SHA256 tests 881s # Start of SHA384 tests 881s ok 1112 /checksum/SHA384/0 881s ok 1113 /checksum/SHA384/1 881s ok 1114 /checksum/SHA384/2 881s ok 1115 /checksum/SHA384/3 881s ok 1116 /checksum/SHA384/4 881s ok 1117 /checksum/SHA384/5 881s ok 1118 /checksum/SHA384/6 881s ok 1119 /checksum/SHA384/7 881s ok 1120 /checksum/SHA384/8 881s ok 1121 /checksum/SHA384/9 881s ok 1122 /checksum/SHA384/10 881s ok 1123 /checksum/SHA384/11 881s ok 1124 /checksum/SHA384/12 881s ok 1125 /checksum/SHA384/13 881s ok 1126 /checksum/SHA384/14 881s ok 1127 /checksum/SHA384/15 881s ok 1128 /checksum/SHA384/16 881s ok 1129 /checksum/SHA384/17 881s ok 1130 /checksum/SHA384/18 881s ok 1131 /checksum/SHA384/19 881s ok 1132 /checksum/SHA384/20 881s ok 1133 /checksum/SHA384/21 881s ok 1134 /checksum/SHA384/22 881s ok 1135 /checksum/SHA384/23 881s ok 1136 /checksum/SHA384/24 881s ok 1137 /checksum/SHA384/25 881s ok 1138 /checksum/SHA384/26 881s ok 1139 /checksum/SHA384/27 881s ok 1140 /checksum/SHA384/28 881s ok 1141 /checksum/SHA384/29 881s ok 1142 /checksum/SHA384/30 881s ok 1143 /checksum/SHA384/31 881s ok 1144 /checksum/SHA384/32 881s ok 1145 /checksum/SHA384/33 881s ok 1146 /checksum/SHA384/34 881s ok 1147 /checksum/SHA384/35 881s ok 1148 /checksum/SHA384/36 881s ok 1149 /checksum/SHA384/37 881s ok 1150 /checksum/SHA384/38 881s ok 1151 /checksum/SHA384/39 881s ok 1152 /checksum/SHA384/40 881s ok 1153 /checksum/SHA384/41 881s ok 1154 /checksum/SHA384/42 881s ok 1155 /checksum/SHA384/43 881s ok 1156 /checksum/SHA384/44 881s ok 1157 /checksum/SHA384/45 881s ok 1158 /checksum/SHA384/46 881s ok 1159 /checksum/SHA384/47 881s ok 1160 /checksum/SHA384/48 881s ok 1161 /checksum/SHA384/49 881s ok 1162 /checksum/SHA384/50 881s ok 1163 /checksum/SHA384/51 881s ok 1164 /checksum/SHA384/52 881s ok 1165 /checksum/SHA384/53 881s ok 1166 /checksum/SHA384/54 881s ok 1167 /checksum/SHA384/55 881s ok 1168 /checksum/SHA384/56 881s ok 1169 /checksum/SHA384/57 881s ok 1170 /checksum/SHA384/58 881s ok 1171 /checksum/SHA384/59 881s ok 1172 /checksum/SHA384/60 881s ok 1173 /checksum/SHA384/61 881s ok 1174 /checksum/SHA384/62 881s ok 1175 /checksum/SHA384/63 881s ok 1176 /checksum/SHA384/64 881s ok 1177 /checksum/SHA384/65 881s ok 1178 /checksum/SHA384/66 881s ok 1179 /checksum/SHA384/67 881s ok 1180 /checksum/SHA384/68 881s ok 1181 /checksum/SHA384/69 881s ok 1182 /checksum/SHA384/70 881s ok 1183 /checksum/SHA384/71 881s ok 1184 /checksum/SHA384/72 881s ok 1185 /checksum/SHA384/73 881s ok 1186 /checksum/SHA384/74 881s ok 1187 /checksum/SHA384/75 881s ok 1188 /checksum/SHA384/76 881s ok 1189 /checksum/SHA384/77 881s ok 1190 /checksum/SHA384/78 881s ok 1191 /checksum/SHA384/79 881s ok 1192 /checksum/SHA384/80 881s ok 1193 /checksum/SHA384/81 881s ok 1194 /checksum/SHA384/82 881s ok 1195 /checksum/SHA384/83 881s ok 1196 /checksum/SHA384/84 881s ok 1197 /checksum/SHA384/85 881s ok 1198 /checksum/SHA384/86 881s ok 1199 /checksum/SHA384/87 881s ok 1200 /checksum/SHA384/88 881s ok 1201 /checksum/SHA384/89 881s ok 1202 /checksum/SHA384/90 881s ok 1203 /checksum/SHA384/91 881s ok 1204 /checksum/SHA384/92 881s ok 1205 /checksum/SHA384/93 881s ok 1206 /checksum/SHA384/94 881s ok 1207 /checksum/SHA384/95 881s ok 1208 /checksum/SHA384/96 881s ok 1209 /checksum/SHA384/97 881s ok 1210 /checksum/SHA384/98 881s ok 1211 /checksum/SHA384/99 881s ok 1212 /checksum/SHA384/100 881s ok 1213 /checksum/SHA384/101 881s ok 1214 /checksum/SHA384/102 881s ok 1215 /checksum/SHA384/103 881s ok 1216 /checksum/SHA384/104 881s ok 1217 /checksum/SHA384/105 881s ok 1218 /checksum/SHA384/106 881s ok 1219 /checksum/SHA384/107 881s ok 1220 /checksum/SHA384/108 881s ok 1221 /checksum/SHA384/109 881s ok 1222 /checksum/SHA384/110 881s ok 1223 /checksum/SHA384/111 881s ok 1224 /checksum/SHA384/112 881s ok 1225 /checksum/SHA384/113 881s ok 1226 /checksum/SHA384/114 881s ok 1227 /checksum/SHA384/115 881s ok 1228 /checksum/SHA384/116 881s ok 1229 /checksum/SHA384/117 881s ok 1230 /checksum/SHA384/118 881s ok 1231 /checksum/SHA384/119 881s ok 1232 /checksum/SHA384/120 881s ok 1233 /checksum/SHA384/121 881s ok 1234 /checksum/SHA384/122 881s ok 1235 /checksum/SHA384/123 881s ok 1236 /checksum/SHA384/124 881s ok 1237 /checksum/SHA384/125 881s ok 1238 /checksum/SHA384/126 881s ok 1239 /checksum/SHA384/127 881s ok 1240 /checksum/SHA384/128 881s ok 1241 /checksum/SHA384/129 881s ok 1242 /checksum/SHA384/130 881s ok 1243 /checksum/SHA384/131 881s ok 1244 /checksum/SHA384/132 881s ok 1245 /checksum/SHA384/133 881s ok 1246 /checksum/SHA384/134 881s ok 1247 /checksum/SHA384/135 881s ok 1248 /checksum/SHA384/136 881s ok 1249 /checksum/SHA384/137 881s ok 1250 /checksum/SHA384/138 881s ok 1251 /checksum/SHA384/139 881s ok 1252 /checksum/SHA384/140 881s ok 1253 /checksum/SHA384/141 881s ok 1254 /checksum/SHA384/142 881s ok 1255 /checksum/SHA384/143 881s ok 1256 /checksum/SHA384/144 881s ok 1257 /checksum/SHA384/145 881s ok 1258 /checksum/SHA384/146 881s ok 1259 /checksum/SHA384/147 881s ok 1260 /checksum/SHA384/148 881s ok 1261 /checksum/SHA384/149 881s ok 1262 /checksum/SHA384/150 881s ok 1263 /checksum/SHA384/151 881s ok 1264 /checksum/SHA384/152 881s ok 1265 /checksum/SHA384/153 881s ok 1266 /checksum/SHA384/154 881s ok 1267 /checksum/SHA384/155 881s ok 1268 /checksum/SHA384/156 881s ok 1269 /checksum/SHA384/157 881s ok 1270 /checksum/SHA384/158 881s ok 1271 /checksum/SHA384/159 881s ok 1272 /checksum/SHA384/160 881s ok 1273 /checksum/SHA384/161 881s ok 1274 /checksum/SHA384/162 881s ok 1275 /checksum/SHA384/163 881s ok 1276 /checksum/SHA384/164 881s ok 1277 /checksum/SHA384/165 881s ok 1278 /checksum/SHA384/166 881s ok 1279 /checksum/SHA384/167 881s ok 1280 /checksum/SHA384/168 881s ok 1281 /checksum/SHA384/169 881s ok 1282 /checksum/SHA384/170 881s ok 1283 /checksum/SHA384/171 881s ok 1284 /checksum/SHA384/172 881s ok 1285 /checksum/SHA384/173 881s ok 1286 /checksum/SHA384/174 881s ok 1287 /checksum/SHA384/175 881s ok 1288 /checksum/SHA384/176 881s ok 1289 /checksum/SHA384/177 881s ok 1290 /checksum/SHA384/178 881s ok 1291 /checksum/SHA384/179 881s ok 1292 /checksum/SHA384/180 881s ok 1293 /checksum/SHA384/181 881s ok 1294 /checksum/SHA384/182 881s ok 1295 /checksum/SHA384/183 881s ok 1296 /checksum/SHA384/string 881s ok 1297 /checksum/SHA384/bytes 881s # Start of reset tests 881s ok 1298 /checksum/SHA384/reset/0 881s ok 1299 /checksum/SHA384/reset/1 881s ok 1300 /checksum/SHA384/reset/2 881s ok 1301 /checksum/SHA384/reset/3 881s ok 1302 /checksum/SHA384/reset/4 881s ok 1303 /checksum/SHA384/reset/5 881s ok 1304 /checksum/SHA384/reset/6 881s ok 1305 /checksum/SHA384/reset/7 881s ok 1306 /checksum/SHA384/reset/8 881s ok 1307 /checksum/SHA384/reset/9 881s ok 1308 /checksum/SHA384/reset/10 881s ok 1309 /checksum/SHA384/reset/11 881s ok 1310 /checksum/SHA384/reset/12 881s ok 1311 /checksum/SHA384/reset/13 881s ok 1312 /checksum/SHA384/reset/14 881s ok 1313 /checksum/SHA384/reset/15 881s ok 1314 /checksum/SHA384/reset/16 881s ok 1315 /checksum/SHA384/reset/17 881s ok 1316 /checksum/SHA384/reset/18 881s ok 1317 /checksum/SHA384/reset/19 881s ok 1318 /checksum/SHA384/reset/20 881s ok 1319 /checksum/SHA384/reset/21 881s ok 1320 /checksum/SHA384/reset/22 881s ok 1321 /checksum/SHA384/reset/23 881s ok 1322 /checksum/SHA384/reset/24 881s ok 1323 /checksum/SHA384/reset/25 881s ok 1324 /checksum/SHA384/reset/26 881s ok 1325 /checksum/SHA384/reset/27 881s ok 1326 /checksum/SHA384/reset/28 881s ok 1327 /checksum/SHA384/reset/29 881s ok 1328 /checksum/SHA384/reset/30 881s ok 1329 /checksum/SHA384/reset/31 881s ok 1330 /checksum/SHA384/reset/32 881s ok 1331 /checksum/SHA384/reset/33 881s ok 1332 /checksum/SHA384/reset/34 881s ok 1333 /checksum/SHA384/reset/35 881s ok 1334 /checksum/SHA384/reset/36 881s ok 1335 /checksum/SHA384/reset/37 881s ok 1336 /checksum/SHA384/reset/38 881s ok 1337 /checksum/SHA384/reset/39 881s ok 1338 /checksum/SHA384/reset/40 881s ok 1339 /checksum/SHA384/reset/41 881s ok 1340 /checksum/SHA384/reset/42 881s ok 1341 /checksum/SHA384/reset/43 881s ok 1342 /checksum/SHA384/reset/44 881s ok 1343 /checksum/SHA384/reset/45 881s ok 1344 /checksum/SHA384/reset/46 881s ok 1345 /checksum/SHA384/reset/47 881s ok 1346 /checksum/SHA384/reset/48 881s ok 1347 /checksum/SHA384/reset/49 881s ok 1348 /checksum/SHA384/reset/50 881s ok 1349 /checksum/SHA384/reset/51 881s ok 1350 /checksum/SHA384/reset/52 881s ok 1351 /checksum/SHA384/reset/53 881s ok 1352 /checksum/SHA384/reset/54 881s ok 1353 /checksum/SHA384/reset/55 881s ok 1354 /checksum/SHA384/reset/56 881s ok 1355 /checksum/SHA384/reset/57 881s ok 1356 /checksum/SHA384/reset/58 881s ok 1357 /checksum/SHA384/reset/59 881s ok 1358 /checksum/SHA384/reset/60 881s ok 1359 /checksum/SHA384/reset/61 881s ok 1360 /checksum/SHA384/reset/62 881s ok 1361 /checksum/SHA384/reset/63 881s ok 1362 /checksum/SHA384/reset/64 881s ok 1363 /checksum/SHA384/reset/65 881s ok 1364 /checksum/SHA384/reset/66 881s ok 1365 /checksum/SHA384/reset/67 881s ok 1366 /checksum/SHA384/reset/68 881s ok 1367 /checksum/SHA384/reset/69 881s ok 1368 /checksum/SHA384/reset/70 881s ok 1369 /checksum/SHA384/reset/71 881s ok 1370 /checksum/SHA384/reset/72 881s ok 1371 /checksum/SHA384/reset/73 881s ok 1372 /checksum/SHA384/reset/74 881s ok 1373 /checksum/SHA384/reset/75 881s ok 1374 /checksum/SHA384/reset/76 881s ok 1375 /checksum/SHA384/reset/77 881s ok 1376 /checksum/SHA384/reset/78 881s ok 1377 /checksum/SHA384/reset/79 881s ok 1378 /checksum/SHA384/reset/80 881s ok 1379 /checksum/SHA384/reset/81 881s ok 1380 /checksum/SHA384/reset/82 881s ok 1381 /checksum/SHA384/reset/83 881s ok 1382 /checksum/SHA384/reset/84 881s ok 1383 /checksum/SHA384/reset/85 881s ok 1384 /checksum/SHA384/reset/86 881s ok 1385 /checksum/SHA384/reset/87 881s ok 1386 /checksum/SHA384/reset/88 881s ok 1387 /checksum/SHA384/reset/89 881s ok 1388 /checksum/SHA384/reset/90 881s ok 1389 /checksum/SHA384/reset/91 881s ok 1390 /checksum/SHA384/reset/92 881s ok 1391 /checksum/SHA384/reset/93 881s ok 1392 /checksum/SHA384/reset/94 881s ok 1393 /checksum/SHA384/reset/95 881s ok 1394 /checksum/SHA384/reset/96 881s ok 1395 /checksum/SHA384/reset/97 881s ok 1396 /checksum/SHA384/reset/98 881s ok 1397 /checksum/SHA384/reset/99 881s ok 1398 /checksum/SHA384/reset/100 881s ok 1399 /checksum/SHA384/reset/101 881s ok 1400 /checksum/SHA384/reset/102 881s ok 1401 /checksum/SHA384/reset/103 881s ok 1402 /checksum/SHA384/reset/104 881s ok 1403 /checksum/SHA384/reset/105 881s ok 1404 /checksum/SHA384/reset/106 881s ok 1405 /checksum/SHA384/reset/107 881s ok 1406 /checksum/SHA384/reset/108 881s ok 1407 /checksum/SHA384/reset/109 881s ok 1408 /checksum/SHA384/reset/110 881s ok 1409 /checksum/SHA384/reset/111 881s ok 1410 /checksum/SHA384/reset/112 881s ok 1411 /checksum/SHA384/reset/113 881s ok 1412 /checksum/SHA384/reset/114 881s ok 1413 /checksum/SHA384/reset/115 881s ok 1414 /checksum/SHA384/reset/116 881s ok 1415 /checksum/SHA384/reset/117 881s ok 1416 /checksum/SHA384/reset/118 881s ok 1417 /checksum/SHA384/reset/119 881s ok 1418 /checksum/SHA384/reset/120 881s ok 1419 /checksum/SHA384/reset/121 881s ok 1420 /checksum/SHA384/reset/122 881s ok 1421 /checksum/SHA384/reset/123 881s ok 1422 /checksum/SHA384/reset/124 881s ok 1423 /checksum/SHA384/reset/125 881s ok 1424 /checksum/SHA384/reset/126 881s ok 1425 /checksum/SHA384/reset/127 881s ok 1426 /checksum/SHA384/reset/128 881s ok 1427 /checksum/SHA384/reset/129 881s ok 1428 /checksum/SHA384/reset/130 881s ok 1429 /checksum/SHA384/reset/131 881s ok 1430 /checksum/SHA384/reset/132 881s ok 1431 /checksum/SHA384/reset/133 881s ok 1432 /checksum/SHA384/reset/134 881s ok 1433 /checksum/SHA384/reset/135 881s ok 1434 /checksum/SHA384/reset/136 881s ok 1435 /checksum/SHA384/reset/137 881s ok 1436 /checksum/SHA384/reset/138 881s ok 1437 /checksum/SHA384/reset/139 881s ok 1438 /checksum/SHA384/reset/140 881s ok 1439 /checksum/SHA384/reset/141 881s ok 1440 /checksum/SHA384/reset/142 881s ok 1441 /checksum/SHA384/reset/143 881s ok 1442 /checksum/SHA384/reset/144 881s ok 1443 /checksum/SHA384/reset/145 881s ok 1444 /checksum/SHA384/reset/146 881s ok 1445 /checksum/SHA384/reset/147 881s ok 1446 /checksum/SHA384/reset/148 881s ok 1447 /checksum/SHA384/reset/149 881s ok 1448 /checksum/SHA384/reset/150 881s ok 1449 /checksum/SHA384/reset/151 881s ok 1450 /checksum/SHA384/reset/152 881s ok 1451 /checksum/SHA384/reset/153 881s ok 1452 /checksum/SHA384/reset/154 881s ok 1453 /checksum/SHA384/reset/155 881s ok 1454 /checksum/SHA384/reset/156 881s ok 1455 /checksum/SHA384/reset/157 881s ok 1456 /checksum/SHA384/reset/158 881s ok 1457 /checksum/SHA384/reset/159 881s ok 1458 /checksum/SHA384/reset/160 881s ok 1459 /checksum/SHA384/reset/161 881s ok 1460 /checksum/SHA384/reset/162 881s ok 1461 /checksum/SHA384/reset/163 881s ok 1462 /checksum/SHA384/reset/164 881s ok 1463 /checksum/SHA384/reset/165 881s ok 1464 /checksum/SHA384/reset/166 881s ok 1465 /checksum/SHA384/reset/167 881s ok 1466 /checksum/SHA384/reset/168 881s ok 1467 /checksum/SHA384/reset/169 881s ok 1468 /checksum/SHA384/reset/170 881s ok 1469 /checksum/SHA384/reset/171 881s ok 1470 /checksum/SHA384/reset/172 881s ok 1471 /checksum/SHA384/reset/173 881s ok 1472 /checksum/SHA384/reset/174 881s ok 1473 /checksum/SHA384/reset/175 881s ok 1474 /checksum/SHA384/reset/176 881s ok 1475 /checksum/SHA384/reset/177 881s ok 1476 /checksum/SHA384/reset/178 881s ok 1477 /checksum/SHA384/reset/179 881s ok 1478 /checksum/SHA384/reset/180 881s ok 1479 /checksum/SHA384/reset/181 881s ok 1480 /checksum/SHA384/reset/182 881s ok 1481 /checksum/SHA384/reset/183 881s # End of reset tests 881s # End of SHA384 tests 881s # Start of SHA512 tests 881s ok 1482 /checksum/SHA512/0 881s ok 1483 /checksum/SHA512/1 881s ok 1484 /checksum/SHA512/2 881s ok 1485 /checksum/SHA512/3 881s ok 1486 /checksum/SHA512/4 881s ok 1487 /checksum/SHA512/5 881s ok 1488 /checksum/SHA512/6 881s ok 1489 /checksum/SHA512/7 881s ok 1490 /checksum/SHA512/8 881s ok 1491 /checksum/SHA512/9 881s ok 1492 /checksum/SHA512/10 881s ok 1493 /checksum/SHA512/11 881s ok 1494 /checksum/SHA512/12 881s ok 1495 /checksum/SHA512/13 881s ok 1496 /checksum/SHA512/14 881s ok 1497 /checksum/SHA512/15 881s ok 1498 /checksum/SHA512/16 881s ok 1499 /checksum/SHA512/17 881s ok 1500 /checksum/SHA512/18 881s ok 1501 /checksum/SHA512/19 881s ok 1502 /checksum/SHA512/20 881s ok 1503 /checksum/SHA512/21 881s ok 1504 /checksum/SHA512/22 881s ok 1505 /checksum/SHA512/23 881s ok 1506 /checksum/SHA512/24 881s ok 1507 /checksum/SHA512/25 881s ok 1508 /checksum/SHA512/26 881s ok 1509 /checksum/SHA512/27 881s ok 1510 /checksum/SHA512/28 881s ok 1511 /checksum/SHA512/29 881s ok 1512 /checksum/SHA512/30 881s ok 1513 /checksum/SHA512/31 881s ok 1514 /checksum/SHA512/32 881s ok 1515 /checksum/SHA512/33 881s ok 1516 /checksum/SHA512/34 881s ok 1517 /checksum/SHA512/35 881s ok 1518 /checksum/SHA512/36 881s ok 1519 /checksum/SHA512/37 881s ok 1520 /checksum/SHA512/38 881s ok 1521 /checksum/SHA512/39 881s ok 1522 /checksum/SHA512/40 881s ok 1523 /checksum/SHA512/41 881s ok 1524 /checksum/SHA512/42 881s ok 1525 /checksum/SHA512/43 881s ok 1526 /checksum/SHA512/44 881s ok 1527 /checksum/SHA512/45 881s ok 1528 /checksum/SHA512/46 881s ok 1529 /checksum/SHA512/47 881s ok 1530 /checksum/SHA512/48 881s ok 1531 /checksum/SHA512/49 881s ok 1532 /checksum/SHA512/50 881s ok 1533 /checksum/SHA512/51 881s ok 1534 /checksum/SHA512/52 881s ok 1535 /checksum/SHA512/53 881s ok 1536 /checksum/SHA512/54 881s ok 1537 /checksum/SHA512/55 881s ok 1538 /checksum/SHA512/56 881s ok 1539 /checksum/SHA512/57 881s ok 1540 /checksum/SHA512/58 881s ok 1541 /checksum/SHA512/59 881s ok 1542 /checksum/SHA512/60 881s ok 1543 /checksum/SHA512/61 881s ok 1544 /checksum/SHA512/62 881s ok 1545 /checksum/SHA512/63 881s ok 1546 /checksum/SHA512/64 881s ok 1547 /checksum/SHA512/65 881s ok 1548 /checksum/SHA512/66 881s ok 1549 /checksum/SHA512/67 881s ok 1550 /checksum/SHA512/68 881s ok 1551 /checksum/SHA512/69 881s ok 1552 /checksum/SHA512/70 881s ok 1553 /checksum/SHA512/71 881s ok 1554 /checksum/SHA512/72 881s ok 1555 /checksum/SHA512/73 881s ok 1556 /checksum/SHA512/74 881s ok 1557 /checksum/SHA512/75 881s ok 1558 /checksum/SHA512/76 881s ok 1559 /checksum/SHA512/77 881s ok 1560 /checksum/SHA512/78 881s ok 1561 /checksum/SHA512/79 881s ok 1562 /checksum/SHA512/80 881s ok 1563 /checksum/SHA512/81 881s ok 1564 /checksum/SHA512/82 881s ok 1565 /checksum/SHA512/83 881s ok 1566 /checksum/SHA512/84 881s ok 1567 /checksum/SHA512/85 881s ok 1568 /checksum/SHA512/86 881s ok 1569 /checksum/SHA512/87 881s ok 1570 /checksum/SHA512/88 881s ok 1571 /checksum/SHA512/89 881s ok 1572 /checksum/SHA512/90 881s ok 1573 /checksum/SHA512/91 881s ok 1574 /checksum/SHA512/92 881s ok 1575 /checksum/SHA512/93 881s ok 1576 /checksum/SHA512/94 881s ok 1577 /checksum/SHA512/95 881s ok 1578 /checksum/SHA512/96 881s ok 1579 /checksum/SHA512/97 881s ok 1580 /checksum/SHA512/98 881s ok 1581 /checksum/SHA512/99 881s ok 1582 /checksum/SHA512/100 881s ok 1583 /checksum/SHA512/101 881s ok 1584 /checksum/SHA512/102 881s ok 1585 /checksum/SHA512/103 881s ok 1586 /checksum/SHA512/104 881s ok 1587 /checksum/SHA512/105 881s ok 1588 /checksum/SHA512/106 881s ok 1589 /checksum/SHA512/107 881s ok 1590 /checksum/SHA512/108 881s ok 1591 /checksum/SHA512/109 881s ok 1592 /checksum/SHA512/110 881s ok 1593 /checksum/SHA512/111 881s ok 1594 /checksum/SHA512/112 881s ok 1595 /checksum/SHA512/113 881s ok 1596 /checksum/SHA512/114 881s ok 1597 /checksum/SHA512/115 881s ok 1598 /checksum/SHA512/116 881s ok 1599 /checksum/SHA512/117 881s ok 1600 /checksum/SHA512/118 881s ok 1601 /checksum/SHA512/119 881s ok 1602 /checksum/SHA512/120 881s ok 1603 /checksum/SHA512/121 881s ok 1604 /checksum/SHA512/122 881s ok 1605 /checksum/SHA512/123 881s ok 1606 /checksum/SHA512/124 881s ok 1607 /checksum/SHA512/125 881s ok 1608 /checksum/SHA512/126 881s ok 1609 /checksum/SHA512/127 881s ok 1610 /checksum/SHA512/128 881s ok 1611 /checksum/SHA512/129 881s ok 1612 /checksum/SHA512/130 881s ok 1613 /checksum/SHA512/131 881s ok 1614 /checksum/SHA512/132 881s ok 1615 /checksum/SHA512/133 881s ok 1616 /checksum/SHA512/134 881s ok 1617 /checksum/SHA512/135 881s ok 1618 /checksum/SHA512/136 881s ok 1619 /checksum/SHA512/137 881s ok 1620 /checksum/SHA512/138 881s ok 1621 /checksum/SHA512/139 881s ok 1622 /checksum/SHA512/140 881s ok 1623 /checksum/SHA512/141 881s ok 1624 /checksum/SHA512/142 881s ok 1625 /checksum/SHA512/143 881s ok 1626 /checksum/SHA512/144 881s ok 1627 /checksum/SHA512/145 881s ok 1628 /checksum/SHA512/146 881s ok 1629 /checksum/SHA512/147 881s ok 1630 /checksum/SHA512/148 881s ok 1631 /checksum/SHA512/149 881s ok 1632 /checksum/SHA512/150 881s ok 1633 /checksum/SHA512/151 881s ok 1634 /checksum/SHA512/152 881s ok 1635 /checksum/SHA512/153 881s ok 1636 /checksum/SHA512/154 881s ok 1637 /checksum/SHA512/155 881s ok 1638 /checksum/SHA512/156 881s ok 1639 /checksum/SHA512/157 881s ok 1640 /checksum/SHA512/158 881s ok 1641 /checksum/SHA512/159 881s ok 1642 /checksum/SHA512/160 881s ok 1643 /checksum/SHA512/161 881s ok 1644 /checksum/SHA512/162 881s ok 1645 /checksum/SHA512/163 881s ok 1646 /checksum/SHA512/164 881s ok 1647 /checksum/SHA512/165 881s ok 1648 /checksum/SHA512/166 881s ok 1649 /checksum/SHA512/167 881s ok 1650 /checksum/SHA512/168 881s ok 1651 /checksum/SHA512/169 881s ok 1652 /checksum/SHA512/170 881s ok 1653 /checksum/SHA512/171 881s ok 1654 /checksum/SHA512/172 881s ok 1655 /checksum/SHA512/173 881s ok 1656 /checksum/SHA512/174 881s ok 1657 /checksum/SHA512/175 881s ok 1658 /checksum/SHA512/176 881s ok 1659 /checksum/SHA512/177 881s ok 1660 /checksum/SHA512/178 881s ok 1661 /checksum/SHA512/179 881s ok 1662 /checksum/SHA512/180 881s ok 1663 /checksum/SHA512/181 881s ok 1664 /checksum/SHA512/182 881s ok 1665 /checksum/SHA512/183 881s ok 1666 /checksum/SHA512/string 881s ok 1667 /checksum/SHA512/bytes 881s # Start of reset tests 881s ok 1668 /checksum/SHA512/reset/0 881s ok 1669 /checksum/SHA512/reset/1 881s ok 1670 /checksum/SHA512/reset/2 881s ok 1671 /checksum/SHA512/reset/3 881s ok 1672 /checksum/SHA512/reset/4 881s ok 1673 /checksum/SHA512/reset/5 881s ok 1674 /checksum/SHA512/reset/6 881s ok 1675 /checksum/SHA512/reset/7 881s ok 1676 /checksum/SHA512/reset/8 881s ok 1677 /checksum/SHA512/reset/9 881s ok 1678 /checksum/SHA512/reset/10 881s ok 1679 /checksum/SHA512/reset/11 881s ok 1680 /checksum/SHA512/reset/12 881s ok 1681 /checksum/SHA512/reset/13 881s ok 1682 /checksum/SHA512/reset/14 881s ok 1683 /checksum/SHA512/reset/15 881s ok 1684 /checksum/SHA512/reset/16 881s ok 1685 /checksum/SHA512/reset/17 881s ok 1686 /checksum/SHA512/reset/18 881s ok 1687 /checksum/SHA512/reset/19 881s ok 1688 /checksum/SHA512/reset/20 881s ok 1689 /checksum/SHA512/reset/21 881s ok 1690 /checksum/SHA512/reset/22 881s ok 1691 /checksum/SHA512/reset/23 881s ok 1692 /checksum/SHA512/reset/24 881s ok 1693 /checksum/SHA512/reset/25 881s ok 1694 /checksum/SHA512/reset/26 881s ok 1695 /checksum/SHA512/reset/27 881s ok 1696 /checksum/SHA512/reset/28 881s ok 1697 /checksum/SHA512/reset/29 881s ok 1698 /checksum/SHA512/reset/30 881s ok 1699 /checksum/SHA512/reset/31 881s ok 1700 /checksum/SHA512/reset/32 881s ok 1701 /checksum/SHA512/reset/33 881s ok 1702 /checksum/SHA512/reset/34 881s ok 1703 /checksum/SHA512/reset/35 881s ok 1704 /checksum/SHA512/reset/36 881s ok 1705 /checksum/SHA512/reset/37 881s ok 1706 /checksum/SHA512/reset/38 881s ok 1707 /checksum/SHA512/reset/39 881s ok 1708 /checksum/SHA512/reset/40 881s ok 1709 /checksum/SHA512/reset/41 881s ok 1710 /checksum/SHA512/reset/42 881s ok 1711 /checksum/SHA512/reset/43 881s ok 1712 /checksum/SHA512/reset/44 881s ok 1713 /checksum/SHA512/reset/45 881s ok 1714 /checksum/SHA512/reset/46 881s ok 1715 /checksum/SHA512/reset/47 881s ok 1716 /checksum/SHA512/reset/48 881s ok 1717 /checksum/SHA512/reset/49 881s ok 1718 /checksum/SHA512/reset/50 881s ok 1719 /checksum/SHA512/reset/51 881s ok 1720 /checksum/SHA512/reset/52 881s ok 1721 /checksum/SHA512/reset/53 881s ok 1722 /checksum/SHA512/reset/54 881s ok 1723 /checksum/SHA512/reset/55 881s ok 1724 /checksum/SHA512/reset/56 881s ok 1725 /checksum/SHA512/reset/57 881s ok 1726 /checksum/SHA512/reset/58 881s ok 1727 /checksum/SHA512/reset/59 881s ok 1728 /checksum/SHA512/reset/60 881s ok 1729 /checksum/SHA512/reset/61 881s ok 1730 /checksum/SHA512/reset/62 881s ok 1731 /checksum/SHA512/reset/63 881s ok 1732 /checksum/SHA512/reset/64 881s ok 1733 /checksum/SHA512/reset/65 881s ok 1734 /checksum/SHA512/reset/66 881s ok 1735 /checksum/SHA512/reset/67 881s ok 1736 /checksum/SHA512/reset/68 881s ok 1737 /checksum/SHA512/reset/69 881s ok 1738 /checksum/SHA512/reset/70 881s ok 1739 /checksum/SHA512/reset/71 881s ok 1740 /checksum/SHA512/reset/72 881s ok 1741 /checksum/SHA512/reset/73 881s ok 1742 /checksum/SHA512/reset/74 881s ok 1743 /checksum/SHA512/reset/75 881s ok 1744 /checksum/SHA512/reset/76 881s ok 1745 /checksum/SHA512/reset/77 881s ok 1746 /checksum/SHA512/reset/78 881s ok 1747 /checksum/SHA512/reset/79 881s ok 1748 /checksum/SHA512/reset/80 881s ok 1749 /checksum/SHA512/reset/81 881s ok 1750 /checksum/SHA512/reset/82 881s ok 1751 /checksum/SHA512/reset/83 881s ok 1752 /checksum/SHA512/reset/84 881s ok 1753 /checksum/SHA512/reset/85 881s ok 1754 /checksum/SHA512/reset/86 881s ok 1755 /checksum/SHA512/reset/87 881s ok 1756 /checksum/SHA512/reset/88 881s ok 1757 /checksum/SHA512/reset/89 881s ok 1758 /checksum/SHA512/reset/90 881s ok 1759 /checksum/SHA512/reset/91 881s ok 1760 /checksum/SHA512/reset/92 881s ok 1761 /checksum/SHA512/reset/93 881s ok 1762 /checksum/SHA512/reset/94 881s ok 1763 /checksum/SHA512/reset/95 881s ok 1764 /checksum/SHA512/reset/96 881s ok 1765 /checksum/SHA512/reset/97 881s ok 1766 /checksum/SHA512/reset/98 881s ok 1767 /checksum/SHA512/reset/99 881s ok 1768 /checksum/SHA512/reset/100 881s ok 1769 /checksum/SHA512/reset/101 881s ok 1770 /checksum/SHA512/reset/102 881s ok 1771 /checksum/SHA512/reset/103 881s ok 1772 /checksum/SHA512/reset/104 881s ok 1773 /checksum/SHA512/reset/105 881s ok 1774 /checksum/SHA512/reset/106 881s ok 1775 /checksum/SHA512/reset/107 881s ok 1776 /checksum/SHA512/reset/108 881s ok 1777 /checksum/SHA512/reset/109 881s ok 1778 /checksum/SHA512/reset/110 881s ok 1779 /checksum/SHA512/reset/111 881s ok 1780 /checksum/SHA512/reset/112 881s ok 1781 /checksum/SHA512/reset/113 881s ok 1782 /checksum/SHA512/reset/114 881s ok 1783 /checksum/SHA512/reset/115 881s ok 1784 /checksum/SHA512/reset/116 881s ok 1785 /checksum/SHA512/reset/117 881s ok 1786 /checksum/SHA512/reset/118 881s ok 1787 /checksum/SHA512/reset/119 881s ok 1788 /checksum/SHA512/reset/120 881s ok 1789 /checksum/SHA512/reset/121 881s ok 1790 /checksum/SHA512/reset/122 881s ok 1791 /checksum/SHA512/reset/123 881s ok 1792 /checksum/SHA512/reset/124 881s ok 1793 /checksum/SHA512/reset/125 881s ok 1794 /checksum/SHA512/reset/126 881s ok 1795 /checksum/SHA512/reset/127 881s ok 1796 /checksum/SHA512/reset/128 881s ok 1797 /checksum/SHA512/reset/129 881s ok 1798 /checksum/SHA512/reset/130 881s ok 1799 /checksum/SHA512/reset/131 881s ok 1800 /checksum/SHA512/reset/132 881s ok 1801 /checksum/SHA512/reset/133 881s ok 1802 /checksum/SHA512/reset/134 881s ok 1803 /checksum/SHA512/reset/135 881s ok 1804 /checksum/SHA512/reset/136 881s ok 1805 /checksum/SHA512/reset/137 881s ok 1806 /checksum/SHA512/reset/138 881s ok 1807 /checksum/SHA512/reset/139 881s ok 1808 /checksum/SHA512/reset/140 881s ok 1809 /checksum/SHA512/reset/141 881s ok 1810 /checksum/SHA512/reset/142 881s ok 1811 /checksum/SHA512/reset/143 881s ok 1812 /checksum/SHA512/reset/144 881s ok 1813 /checksum/SHA512/reset/145 881s ok 1814 /checksum/SHA512/reset/146 881s ok 1815 /checksum/SHA512/reset/147 881s ok 1816 /checksum/SHA512/reset/148 881s ok 1817 /checksum/SHA512/reset/149 881s ok 1818 /checksum/SHA512/reset/150 881s ok 1819 /checksum/SHA512/reset/151 881s ok 1820 /checksum/SHA512/reset/152 881s ok 1821 /checksum/SHA512/reset/153 881s ok 1822 /checksum/SHA512/reset/154 881s ok 1823 /checksum/SHA512/reset/155 881s ok 1824 /checksum/SHA512/reset/156 881s ok 1825 /checksum/SHA512/reset/157 881s ok 1826 /checksum/SHA512/reset/158 881s ok 1827 /checksum/SHA512/reset/159 881s ok 1828 /checksum/SHA512/reset/160 881s ok 1829 /checksum/SHA512/reset/161 881s ok 1830 /checksum/SHA512/reset/162 881s ok 1831 /checksum/SHA512/reset/163 881s ok 1832 /checksum/SHA512/reset/164 881s ok 1833 /checksum/SHA512/reset/165 881s ok 1834 /checksum/SHA512/reset/166 881s ok 1835 /checksum/SHA512/reset/167 881s ok 1836 /checksum/SHA512/reset/168 881s ok 1837 /checksum/SHA512/reset/169 881s ok 1838 /checksum/SHA512/reset/170 881s ok 1839 /checksum/SHA512/reset/171 881s ok 1840 /checksum/SHA512/reset/172 881s ok 1841 /checksum/SHA512/reset/173 881s ok 1842 /checksum/SHA512/reset/174 881s ok 1843 /checksum/SHA512/reset/175 881s ok 1844 /checksum/SHA512/reset/176 881s ok 1845 /checksum/SHA512/reset/177 881s ok 1846 /checksum/SHA512/reset/178 881s ok 1847 /checksum/SHA512/reset/179 881s ok 1848 /checksum/SHA512/reset/180 881s ok 1849 /checksum/SHA512/reset/181 881s ok 1850 /checksum/SHA512/reset/182 881s ok 1851 /checksum/SHA512/reset/183 881s # End of reset tests 881s # End of SHA512 tests 881s # End of checksum tests 881s ok - glib/checksum.test 881s # Running test: glib/object.test 881s TAP version 14 881s # random seed: R02S67c5939827627cfebc55cf6087d74578 881s 1..2 881s # Start of object tests 881s # Start of constructor tests 881s ok 1 /object/constructor/singleton 881s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 881s # End of constructor tests 881s # End of object tests 881s ok - glib/object.test 881s # Running test: glib/gdbus-method-invocation.test 881s TAP version 14 881s # random seed: R02Seaa0362d9e533297630141992a2d5ad1 881s 1..1 881s # Start of gdbus tests 881s # Start of method-invocation tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_PEF552/gdbus/method-invocation/return/.dirs/runtime 881s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 881s # Calling org.freedesktop.DBus.Properties.Get 881s # Calling org.freedesktop.DBus.Properties.Get 881s # Calling org.freedesktop.DBus.Properties.Get 881s # Calling org.freedesktop.DBus.Properties.Set 881s # Calling org.freedesktop.DBus.Properties.GetAll 881s # Calling org.example.Foo.WrongReturnType 881s # Calling org.example.Foo.GetFDs 881s # Calling org.example.Foo.GetFDs 881s # Calling org.example.Foo.ReturnError 881s # Calling org.example.Foo.CloseBeforeReturning 881s ok 1 /gdbus/method-invocation/return 881s # End of method-invocation tests 881s # End of gdbus tests 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok - glib/gdbus-method-invocation.test 881s # Running test: glib/network-monitor.test 881s TAP version 14 881s # random seed: R02Sb2b72ba22f33dbd967864d53e997e5a5 881s 1..4 881s # Start of network-monitor tests 881s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 881s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 881s ok 1 /network-monitor/default 881s ok 2 /network-monitor/remove_default 881s ok 3 /network-monitor/add_networks 881s ok - glib/network-monitor.test 881s # Running test: glib/strvbuilder.test 881s ok 4 /network-monitor/remove_networks 881s # End of network-monitor tests 881s TAP version 14 881s # random seed: R02S861890165d38ec53c9006086aaa3b8e4 881s 1..7 881s # Start of strvbuilder tests 881s ok 1 /strvbuilder/empty 881s ok 2 /strvbuilder/add 881s ok 3 /strvbuilder/addv 881s ok 4 /strvbuilder/add_many 881s ok 5 /strvbuilder/take 881s ok 6 /strvbuilder/ref 881s ok 7 /strvbuilder/unref_to_strv 881s # End of strvbuilder tests 881s ok - glib/strvbuilder.test 881s # Running test: glib/gdbus-threading.test 881s ok - glib/gdbus-threading.test 881s TAP version 14 881s # random seed: R02Sa30dbd557878bd81704c363da3d5afde 881s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 881s # Running test: glib/bitlock.test 881s TAP version 14 881s # random seed: R02S0df2a8437b9ef9b51212ffa4e7541060 881s 1..1 881s # Start of bitlock tests 881s # Start of performance tests 881s # max perf: iterations per second 881s ok 1 /bitlock/performance/uncontended 881s # End of performance tests 881s # End of bitlock tests 881s ok - glib/bitlock.test 881s # Running test: glib/volumemonitor.test 881s ok - glib/volumemonitor.test 881s TAP version 14 881s # random seed: R02S34be9ce2f34f08ae622f5713cc73d75d 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 881s 1..3 881s # Start of volumemonitor tests 881s ok 1 /volumemonitor/connected_drives 881s ok 2 /volumemonitor/volumes 881s ok 3 /volumemonitor/mounts 881s # End of volumemonitor tests 881s # Running test: glib/repository.test 881s TAP version 14 881s # random seed: R02S8700a69d269b3b0d026653401ce2f92b 881s 1..23 881s # Start of repository tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/basic/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/basic/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/basic/.dirs/system-config1:/tmp/test_repository_DIG652/repository/basic/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/basic/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/basic/.dirs/system-data1:/tmp/test_repository_DIG652/repository/basic/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/basic/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/basic/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/basic/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 881s ok 1 /repository/basic 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/info/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/info/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/info/.dirs/system-config1:/tmp/test_repository_DIG652/repository/info/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/info/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/info/.dirs/system-data1:/tmp/test_repository_DIG652/repository/info/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/info/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/info/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/info/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/info summary: Test retrieving some basic info blobs from a typelib 881s ok 2 /repository/info 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/dependencies/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/dependencies/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/dependencies/.dirs/system-config1:/tmp/test_repository_DIG652/repository/dependencies/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/dependencies/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/dependencies/.dirs/system-data1:/tmp/test_repository_DIG652/repository/dependencies/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/dependencies/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/dependencies/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/dependencies/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 881s ok 3 /repository/dependencies 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/arg-info/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/arg-info/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/arg-info/.dirs/system-config1:/tmp/test_repository_DIG652/repository/arg-info/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/arg-info/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/arg-info/.dirs/system-data1:/tmp/test_repository_DIG652/repository/arg-info/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/arg-info/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/arg-info/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/arg-info/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 881s ok 4 /repository/arg-info 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/callable-info/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/callable-info/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/callable-info/.dirs/system-config1:/tmp/test_repository_DIG652/repository/callable-info/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/callable-info/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/callable-info/.dirs/system-data1:/tmp/test_repository_DIG652/repository/callable-info/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/callable-info/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/callable-info/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/callable-info/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 881s ok 5 /repository/callable-info 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/callback-info/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/callback-info/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/callback-info/.dirs/system-config1:/tmp/test_repository_DIG652/repository/callback-info/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/callback-info/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/callback-info/.dirs/system-data1:/tmp/test_repository_DIG652/repository/callback-info/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/callback-info/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/callback-info/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/callback-info/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 881s ok 6 /repository/callback-info 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/char-types/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/char-types/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/char-types/.dirs/system-config1:/tmp/test_repository_DIG652/repository/char-types/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/char-types/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/char-types/.dirs/system-data1:/tmp/test_repository_DIG652/repository/char-types/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/char-types/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/char-types/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/char-types/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 881s ok 7 /repository/char-types 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/constructor-return-type/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 881s ok 8 /repository/constructor-return-type 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/enum-info-c-identifier/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 881s ok 9 /repository/enum-info-c-identifier 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/enum-info-static-methods/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/enum-info-static-methods summary: Test an enum with methods 881s ok 10 /repository/enum-info-static-methods 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/error-quark/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/error-quark/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/error-quark/.dirs/system-config1:/tmp/test_repository_DIG652/repository/error-quark/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/error-quark/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/error-quark/.dirs/system-data1:/tmp/test_repository_DIG652/repository/error-quark/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/error-quark/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/error-quark/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/error-quark/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/error-quark summary: Test finding an error quark by error domain 881s ok 11 /repository/error-quark 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/flags-info-c-identifier/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 881s ok 12 /repository/flags-info-c-identifier 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/fundamental-ref-func/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 881s ok 13 /repository/fundamental-ref-func 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/instance-method-ownership-transfer/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 881s ok 14 /repository/instance-method-ownership-transfer 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/object-gtype-interfaces/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 881s ok 15 /repository/object-gtype-interfaces 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/signal-info-with-array-length-arg/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 881s ok 16 /repository/signal-info-with-array-length-arg 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_DIG652/repository/type-info-name/.dirs/system-config2 881s ok - glib/repository.test 881s # Running test: glib/stream-rw_all.test 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_DIG652/repository/type-info-name/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/type-info-name/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 881s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 881s ok 17 /repository/type-info-name 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/vfunc-info-with-no-invoker/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 881s ok 18 /repository/vfunc-info-with-no-invoker 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 881s ok 19 /repository/vfunc-info-with-invoker-on-interface 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 881s ok 20 /repository/vfunc-info-with-invoker-on-object 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/find-by-gtype/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/find-by-gtype summary: Test finding a GType 881s ok 21 /repository/find-by-gtype 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/loaded-namespaces/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/loaded-namespaces summary: Test listing loaded namespaces 881s ok 22 /repository/loaded-namespaces 881s # Start of base-info tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_DIG652/repository/base-info/clear/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_DIG652/repository/base-info/clear/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DIG652/repository/base-info/clear/.dirs/runtime 881s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 881s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 881s ok 23 /repository/base-info/clear 881s # End of base-info tests 881s # End of repository tests 881s TAP version 14 881s # random seed: R02Se671bab89f754fadfd561a4451c3b8ea 881s 1..3 881s # Start of stream tests 881s # Start of read_all_async tests 881s ok 1 /stream/read_all_async/memory 881s # End of read_all_async tests 881s # Start of write_all_async tests 881s ok 2 /stream/write_all_async/memory 881s # End of write_all_async tests 881s # Start of read_write_all_async tests 881s ok - glib/stream-rw_all.test 881s ok 3 /stream/read_write_all_async/pipe 881s # End of read_write_all_async tests 881s # End of stream tests 881s # Running test: glib/basics-gobject.test 881s ok - glib/basics-gobject.test 881s # Running test: glib/spawn-path-search.test 881s TAP version 14 881s # random seed: R02S072ce75e2a4ab7171be061424b21a788 881s 1..1 881s # Start of gobject tests 881s # private data during initialization: 54321 == 54321 881s # MAIN: emit test-signal: 881s # ::test_signal default_handler called 881s # ::test_signal default_handler called 881s # ::test_signal default_handler called 881s # signal return: "" 881s # MAIN: call iface print-string on test and derived object: 881s # Iface-FOO: "iface-string-from-test-type" from 0x762f850f260 881s # Iface-BAR: "iface-string-from-derived-type" from 0x762f8504820 881s # chaining: 881s # Iface-FOO: "iface-string-from-derived-type" from 0x762f8504820 881s # private data after initialization: 54321 == 54321 881s ok 1 /gobject/basics 881s # End of gobject tests 881s TAP version 14 881s # random seed: R02S8ff43234e800d9e1fb45cff8e0ab285e 881s 1..7 881s # Start of spawn tests 881s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 881s # 881s # this is spawn-test-helper from glib/tests 881s # 881s ok 1 /spawn/do-not-search 881s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 881s # 881s # this is spawn-test-helper from path-test-subdir 881s # 881s ok 2 /spawn/search-path 881s # /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. 881s # 881s # this is spawn-test-helper from path-test-subdir 881s # 881s ok 3 /spawn/search-path-from-envp 881s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 881s # 881s # this is spawn-test-helper from path-test-subdir 881s # 881s ok 4 /spawn/search-path-ambiguous 881s # 881s # this is spawn-test-helper from path-test-subdir 881s # 881s ok 5 /spawn/search-path-heap-allocation 881s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 881s # 881s # this is spawn-test-helper from glib/tests 881s # 881s ok 6 /spawn/search-path-fallback-in-environ 881s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 881s # 881s # this is spawn-test-helper from glib/tests 881s # 881s ok 7 /spawn/search-path-fallback-in-envp 881s # End of spawn tests 881s ok - glib/spawn-path-search.test 881s # Running test: glib/asyncqueue.test 881s TAP version 14 881s # random seed: R02S47190c2dfb3394668cd6b13b817f6e1d 881s 1..7 881s # Start of asyncqueue tests 881s ok 1 /asyncqueue/basics 881s ok 2 /asyncqueue/sort 881s ok 3 /asyncqueue/destroy 881s ok 4 /asyncqueue/threads 881s ok 5 /asyncqueue/timed 881s ok 6 /asyncqueue/remove 881s ok 7 /asyncqueue/push_front 881s # End of asyncqueue tests 881s ok - glib/asyncqueue.test 881s # Running test: glib/notify-init2.test 881s TAP version 14 881s ok - glib/notify-init2.test 881s # Running test: glib/io-channel.test 881s # random seed: R02S07b1cf90b4a24d1a804f5c80ef34e0da 881s 1..1 881s # Start of properties tests 881s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 881s ok 1 /properties/notify-in-init2 881s # End of properties tests 881s TAP version 14 881s # random seed: R02S8252ec5103873f3404ad4d9e8aa21bbe 881s 1..2 881s # Start of io-channel tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_9IVU52/io-channel/read-write/.dirs/runtime 881s # Line one 881s # 881s # Line two 881s # 881s # Line three 881s # 881s # /* Hello */ 881s # 881s # \x1234\x567890\x6666 881s # 881s # read 62 bytes, wrote 62 bytes 881s ok 1 /io-channel/read-write 881s # Start of read-line tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/cache 881s ok - glib/io-channel.test 881s # Running test: glib/g-file-info.test 881s ok - glib/g-file-info.test 881s # Running test: glib/vfs.test 881s ok - glib/vfs.test 881s # Running test: glib/utils-c-89.test 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_9IVU52/io-channel/read-line/embedded-nuls/.dirs/runtime 881s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 881s ok 2 /io-channel/read-line/embedded-nuls 881s # End of read-line tests 881s # End of io-channel tests 881s TAP version 14 881s # random seed: R02S686c330efdeefb8bd345e94b26ff354b 881s 1..6 881s # Start of g-file-info tests 881s ok 1 /g-file-info/test_g_file_info 881s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 881s ok 2 /g-file-info/xattrs 881s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 881s ok 3 /g-file-info/set-modified-date-time-precision 881s # Start of test_g_file_info tests 881s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 881s ok 4 /g-file-info/test_g_file_info/modification-time 881s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 881s ok 5 /g-file-info/test_g_file_info/access-time 881s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 881s ok 6 /g-file-info/test_g_file_info/creation-time 881s # End of test_g_file_info tests 881s # End of g-file-info tests 881s TAP version 14 881s # random seed: R02S5cb469cf3eb9de8e5d10a3e95acb3100 881s 1..3 881s # Start of gvfs tests 881s ok 1 /gvfs/local 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 881s ok 2 /gvfs/register-scheme 881s # Start of resource tests 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 881s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 881s ok 3 /gvfs/resource/malformed-escaping 881s # End of resource tests 881s # End of gvfs tests 881s TAP version 14 881s # random seed: R02S42fc413492a6901ada5ab887ea1a8ae5 881s 1..41 881s # Start of utils tests 881s ok 1 /utils/language-names 881s ok 2 /utils/locale-variants 881s ok 3 /utils/version 881s ok 4 /utils/appname 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 881s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 881s ok 5 /utils/prgname-thread-safety 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 881s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 881s ok 6 /utils/tmpdir 881s ok 7 /utils/basic_bits 881s ok 8 /utils/bits 881s ok 9 /utils/swap 881s ok 10 /utils/find-program 881s ok 11 /utils/find-program-for-path 881s ok 12 /utils/debug 881s ok 13 /utils/codeset 881s ok 14 /utils/codeset2 881s ok 15 /utils/console-charset 881s ok 16 /utils/gettext 881s ok 17 /utils/username 881s ok 18 /utils/realname 881s ok 19 /utils/hostname 881s ok 20 /utils/xdgdirs 881s ok 21 /utils/specialdir 881s # NAME: Ubuntu 881s ok 22 /utils/os-info 881s ok 23 /utils/clear-pointer 881s ok 24 /utils/clear-pointer-cast 881s ok 25 /utils/take-pointer 881s ok 26 /utils/clear-source 881s ok 27 /utils/misc-mem 881s # /utils/aligned-mem summary: Aligned memory allocator 881s # Alignment must not be zero 881s # Alignment must be a power of two 881s # Alignment must be a multiple of sizeof(void*) 881s ok 28 /utils/aligned-mem 881s # /utils/free-sized summary: Check that g_free_sized() works 881s ok 29 /utils/free-sized 881s ok 30 /utils/nullify 881s ok 31 /utils/atexit 881s ok 32 /utils/check-setuid 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 881s ok 33 /utils/int-limits 881s ok 34 /utils/clear-list 881s ok 35 /utils/clear-slist 881s ok 36 /utils/steal-handle-id 881s # Start of specialdir tests 881s ok 37 /utils/specialdir/desktop 881s # End of specialdir tests 881s # Start of clear-pointer tests 881s ok 38 /utils/clear-pointer/side-effects 881s # End of clear-pointer tests 881s # Start of aligned-mem tests 881s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 881s ok 39 /utils/aligned-mem/alignment 881s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 881s ok 40 /utils/aligned-mem/zeroed 881s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 881s ok 41 /utils/aligned-mem/free-sized 881s # Start of subprocess tests 881s # End of subprocess tests 881s # End of aligned-mem tests 881s # End of utils tests 881s ok - glib/utils-c-89.test 881s # Running test: glib/option-argv0.test 881s TAP version 14 881s # random seed: R02S4700d9b313f79c5fa13e849dcb8c3cb4 881s 1..1 881s # Start of option tests 881s ok - glib/option-argv0.test 881s ok 1 /option/argv0 881s # End of option tests 881s # Running test: glib/slist.test 881s TAP version 14 881s # random seed: R02S4da61604454cb0315de8b2c25eea1a5f 881s 1..14 881s # Start of slist tests 881s ok 1 /slist/sort 881s ok 2 /slist/sort-with-data 881s ok 3 /slist/insert-sorted 881s ok 4 /slist/insert-sorted-with-data 881s ok 5 /slist/reverse 881s ok 6 /slist/nth 881s ok 7 /slist/remove 881s ok 8 /slist/remove-all 881s ok 9 /slist/insert 881s ok 10 /slist/position 881s ok 11 /slist/concat 881s ok 12 /slist/copy 881s # Start of sort tests 881s ok 13 /slist/sort/stable 881s # End of sort tests 881s # Start of copy tests 881s ok 14 /slist/copy/deep 881s # End of copy tests 881s # End of slist tests 881s ok - glib/slist.test 881s # Running test: glib/converter.test 881s TAP version 14 881s # random seed: R02S5bb1d417103e03205b5954f08e45516a 881s 1..2 881s # Start of converter tests 881s ok - glib/converter.test 881s # Running test: glib/utils-c-99.test 881s ok 1 /converter/bytes 881s ok 2 /converter/extra-bytes-at-end 881s # End of converter tests 881s TAP version 14 881s # random seed: R02S9d8dbbf3befe6711d2e444cf9896db69 881s 1..41 881s # Start of utils tests 881s ok 1 /utils/language-names 881s ok 2 /utils/locale-variants 881s ok 3 /utils/version 881s ok 4 /utils/appname 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 881s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 881s ok 5 /utils/prgname-thread-safety 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 881s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 881s ok 6 /utils/tmpdir 881s ok 7 /utils/basic_bits 881s ok 8 /utils/bits 881s ok 9 /utils/swap 881s ok 10 /utils/find-program 881s ok 11 /utils/find-program-for-path 881s ok 12 /utils/debug 881s ok 13 /utils/codeset 881s ok 14 /utils/codeset2 881s ok 15 /utils/console-charset 881s ok 16 /utils/gettext 881s ok 17 /utils/username 881s ok 18 /utils/realname 881s ok 19 /utils/hostname 881s ok 20 /utils/xdgdirs 881s ok 21 /utils/specialdir 881s # NAME: Ubuntu 881s ok 22 /utils/os-info 881s ok 23 /utils/clear-pointer 881s ok 24 /utils/clear-pointer-cast 881s ok 25 /utils/take-pointer 881s ok 26 /utils/clear-source 881s ok 27 /utils/misc-mem 881s # /utils/aligned-mem summary: Aligned memory allocator 881s # Alignment must not be zero 881s # Alignment must be a power of two 881s # Alignment must be a multiple of sizeof(void*) 881s ok 28 /utils/aligned-mem 881s # /utils/free-sized summary: Check that g_free_sized() works 881s ok 29 /utils/free-sized 881s ok 30 /utils/nullify 881s ok 31 /utils/atexit 881s ok 32 /utils/check-setuid 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 881s ok 33 /utils/int-limits 881s ok 34 /utils/clear-list 881s ok 35 /utils/clear-slist 881s ok 36 /utils/steal-handle-id 881s # Start of specialdir tests 881s ok 37 /utils/specialdir/desktop 881s # End of specialdir tests 881s # Start of clear-pointer tests 881s ok 38 /utils/clear-pointer/side-effects 881s # End of clear-pointer tests 881s # Start of aligned-mem tests 881s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 881s ok 39 /utils/aligned-mem/alignment 881s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 881s ok 40 /utils/aligned-mem/zeroed 881s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 881s ok 41 /utils/aligned-mem/free-sized 881s # Start of subprocess tests 881s # End of subprocess tests 881s # End of aligned-mem tests 881s # End of utils tests 881s ok - glib/utils-c-99.test 881s # Running test: glib/rand.test 881s TAP version 14 881s # random seed: R02S3b47111fb021e161502c2d00c5ca4fbf 881s 1..2 881s # Start of rand tests 881s ok 1 /rand/test-rand 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 881s ok 2 /rand/double-range 881s # End of rand tests 881s ok - glib/rand.test 881s # Running test: glib/socket-service.test 881s TAP version 14 881s # random seed: R02S73b1a6b5317ef4f9cb39c81ab75eb222 881s 1..4 881s # Start of socket-service tests 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 881s ok - glib/socket-service.test 881s # Running test: glib/hostutils.test 881s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13853d09150 and GSocketClientAsyncConnectData 0x13853d03bc0 881s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 881s ok 1 /socket-service/start-stop 881s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13853d0d0f0 and GSocketClientAsyncConnectData 0x13853d0cd90 881s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 881s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 881s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13853d0d070 for GSocketClientAsyncConnectData 0x13853d03bc0 881s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 881s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 881s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 881s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 881s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 881s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13853d0d070 for GSocketClientAsyncConnectData 0x13853d0cd90 881s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 881s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 881s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 881s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 881s ok 2 /socket-service/read_write_async 881s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13853d0d0f0 and GSocketClientAsyncConnectData 0x13853d110d0 881s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 881s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 881s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13853d10600 for GSocketClientAsyncConnectData 0x13853d110d0 881s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 881s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 881s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 881s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 881s ok 3 /socket-service/read_writev_async 881s # Start of threaded tests 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 881s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13853d0e740 and GSocketClientAsyncConnectData 0x13853d0cd90 881s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 881s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 881s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13853d0c9c0 for GSocketClientAsyncConnectData 0x13853d0cd90 881s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 881s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 881s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 881s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 881s ok 4 /socket-service/threaded/712570 881s # End of threaded tests 881s # End of socket-service tests 881s TAP version 14 881s # random seed: R02Sfad02bb47ebe7e76769ffa7a1d8dee3e 881s 1..3 881s # Start of hostutils tests 881s ok 1 /hostutils/to_ascii 881s ok - glib/hostutils.test 881s ok 2 /hostutils/to_unicode 881s ok 3 /hostutils/is_ip_addr 881s # End of hostutils tests 881s # Running test: glib/gnotification.test 881s TAP version 14 881s # random seed: R02Se1b2ab1f45e24818d9506148dfdde725 881s 1..2 881s # Start of gnotification tests 881s ok 1 /gnotification/basic 881s ok 2 /gnotification/properties 881s # End of gnotification tests 881s ok - glib/gnotification.test 881s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 881s TAP version 14 881s # random seed: R02S2aae6da67095edf43be658d1648b4410 881s 1..8 881s # Start of gdbus tests 881s # Start of codegen tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/annotations/.dirs/runtime 881s ok 1 /gdbus/codegen/annotations 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/interface_stability/.dirs/runtime 881s ok 2 /gdbus/codegen/interface_stability 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/object-manager/.dirs/runtime 881s ok 3 /gdbus/codegen/object-manager 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/property-naming/.dirs/runtime 881s ok 4 /gdbus/codegen/property-naming 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/autocleanups/.dirs/runtime 881s ok 5 /gdbus/codegen/autocleanups 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/deprecations/.dirs/runtime 881s ok 6 /gdbus/codegen/deprecations 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/standalone-interface-info/.dirs/runtime 881s ok 7 /gdbus/codegen/standalone-interface-info 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_13VY52/gdbus/codegen/unix-fd-list/.dirs/runtime 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 881s ok 8 /gdbus/codegen/unix-fd-list 881s # End of codegen tests 881s # End of gdbus tests 882s ok - glib/gdbus-test-codegen-min-required-2-64.test 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # Running test: glib/gdbus-server-auth.test 882s TAP version 14 882s # random seed: R02Sd7a0f001bff13fb014cf93323feb3c56 882s 1..9 882s # Start of gdbus tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/.dirs/runtime 882s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-6Y9Z52 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 882s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-6Y9Z52/dbus-lnCC1DyN 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7943 882s ok 1 /gdbus/server-auth 882s # Start of server-auth tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/abstract/.dirs/runtime 882s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-9EH052 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 882s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-9EH052/dbus-EmmXtlBO 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 882s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 882s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7943 882s ok 2 /gdbus/server-auth/abstract 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/tcp/.dirs/runtime 882s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 882s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/.dirs/runtime 882s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-EBS152 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 882s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-EBS152/dbus-GYORwcwp 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7943 882s ok 4 /gdbus/server-auth/anonymous 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/.dirs/runtime 882s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-94P252 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 882s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-94P252/dbus-qRY0g9Ar 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7943 882s ok 5 /gdbus/server-auth/external 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/.dirs/runtime 882s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-C0W252 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 882s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 882s # Start of anonymous tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/anonymous/tcp/.dirs/runtime 882s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 882s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 882s # End of anonymous tests 882s # Start of external tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/external/require-same-user/.dirs/runtime 882s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-922252 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 882s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5Z3Z52/gdbus-server-auth-922252/dbus-B5YQHsqI 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7943 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 882s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 882s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7943,uid=1000,gid=1000 882s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7943 882s ok 8 /gdbus/server-auth/external/require-same-user 882s # End of external tests 882s # Start of sha1 tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5Z3Z52/gdbus/server-auth/sha1/tcp/.dirs/runtime 882s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 882s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 882s # End of sha1 tests 882s # End of server-auth tests 882s # End of gdbus tests 882s ok - glib/gdbus-server-auth.test 882s # Running test: glib/simple-async-result.test 882s TAP version 14 882s # random seed: R02S13d3a2dbafb8964c7a794b77126198e8 882s 1..2 882s # Start of gio tests 882s # Start of simple-async-result tests 882s ok 1 /gio/simple-async-result/test 882s # GLib-GIO-DEBUG: GTask 0x74d99c50040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 882s ok 2 /gio/simple-async-result/valid 882s # End of simple-async-result tests 882s # End of gio tests 882s ok - glib/simple-async-result.test 882s # Running test: glib/markup.test 882s TAP version 14 882s # random seed: R02See4b1aead26faf48b2a4c40bb2ca917b 882s ok - glib/markup.test 882s # Running test: glib/win32-appinfo.test 882s 1..1 882s # Start of markup tests 882s ok 1 /markup/stack 882s # End of markup tests 882s TAP version 14 882s # random seed: R02Sa29481da073d3cde98293e4f2fd3ff9b 882s 1..5 882s # Start of appinfo tests 882s ok 1 /appinfo/utf16-strfuncs 882s ok 2 /appinfo/win32-extract-executable 882s ok 3 /appinfo/win32-rundll32-fixup 882s ok 4 /appinfo/win32-parse-filename 882s ok - glib/win32-appinfo.test 882s ok 5 /appinfo/win32-utf16-conversion-fail 882s # Start of subprocess tests 882s # End of subprocess tests 882s # End of appinfo tests 882s # Running test: glib/dynamictype.test 882s TAP version 14 882s # random seed: R02S22b3e895efc424fa624bb23b4fe52875 882s 1..2 882s # Start of gobject tests 882s ok 1 /gobject/dynamic-type 882s # Start of dynamic-type tests 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 882s ok 2 /gobject/dynamic-type/query 882s # End of dynamic-type tests 882s # End of gobject tests 882s ok - glib/dynamictype.test 882s # Running test: glib/portal-support-flatpak-none.test 882s ok - glib/portal-support-flatpak-none.test 882s TAP version 14 882s # random seed: R02S34446fdf902cacbae879d698cd87d14b 882s 1..1 882s # Start of portal-support tests 882s # Start of flatpak tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/runtime 882s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_FPP352/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 882s ok 1 /portal-support/flatpak/none 882s # End of flatpak tests 882s # End of portal-support tests 882s # Running test: glib/notify-init.test 882s ok - glib/notify-init.test 882s TAP version 14 882s # random seed: R02S76375a027b7cd59ab254febaceeadfbc 882s 1..1 882s # Start of properties tests 882s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 882s ok 1 /properties/notify-in-init 882s # End of properties tests 882s # Running test: glib/signals-refcount4.test 882s TAP version 14 882s # random seed: R02S16ad291e2523a5dbad9e839e5897650f 882s 1..1 882s # Start of gobject tests 882s # Start of refcount tests 882s # init 0x13c69567ddd0 882s # 882s # init 0x13c69567a310 882s # 882s # Executing: glib/signals-refcount4.test 887s ok - glib/signals-refcount4.test 887s # dispose 0x13c69567ddd0! 887s # 887s # dispose 0x13c69567a310! 887s # 887s ok 1 /gobject/refcount/signals 887s # slow test /gobject/refcount/signals executed in 5.00 secs 887s # End of refcount tests 887s # End of gobject tests 887s # Running test: glib/markup-escape.test 887s TAP version 14 887s # random seed: R02S5ccba321716c6b5f7ca37a6db2587967 887s 1..41 887s # Start of markup tests 887s ok 1 /markup/format 887s # Start of escape-text tests 887s ok 2 /markup/escape-text/0 887s ok 3 /markup/escape-text/1 887s ok 4 /markup/escape-text/2 887s ok 5 /markup/escape-text/3 887s ok 6 /markup/escape-text/4 887s ok 7 /markup/escape-text/5 887s ok 8 /markup/escape-text/6 887s ok 9 /markup/escape-text/7 887s ok 10 /markup/escape-text/8 887s ok 11 /markup/escape-text/9 887s ok 12 /markup/escape-text/10 887s ok 13 /markup/escape-text/11 887s ok 14 /markup/escape-text/12 887s ok 15 /markup/escape-text/13 887s ok 16 /markup/escape-text/14 887s ok 17 /markup/escape-text/15 887s ok 18 /markup/escape-text/16 887s ok 19 /markup/escape-text/17 887s ok 20 /markup/escape-text/18 887s ok 21 /markup/escape-text/19 887s ok 22 /markup/escape-text/20 887s ok 23 /markup/escape-text/21 887s ok 24 /markup/escape-text/22 887s # End of escape-text tests 887s # Start of escape-unichar tests 887s ok 25 /markup/escape-unichar/0 887s ok 26 /markup/escape-unichar/1 887s ok 27 /markup/escape-unichar/2 887s ok 28 /markup/escape-unichar/3 887s ok 29 /markup/escape-unichar/4 887s ok 30 /markup/escape-unichar/5 887s ok 31 /markup/escape-unichar/6 887s ok 32 /markup/escape-unichar/7 887s ok 33 /markup/escape-unichar/8 887s ok 34 /markup/escape-unichar/9 887s ok 35 /markup/escape-unichar/10 887s ok 36 /markup/escape-unichar/11 887s ok 37 /markup/escape-unichar/12 887s ok 38 /markup/escape-unichar/13 887s ok 39 /markup/escape-unichar/14 887s ok 40 /markup/escape-unichar/15 887s ok 41 /markup/escape-unichar/16 887s # End of escape-unichar tests 887s # End of markup tests 887s ok - glib/markup-escape.test 887s # Running test: glib/utils-isolated.test 887s TAP version 14 887s # random seed: R02Sda3335b65ae3fe9d6e705045c4184b9e 887s 1..11 887s # Start of utils-isolated tests 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/tmp-dir/.dirs/runtime 887s ok 1 /utils-isolated/tmp-dir 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/home-dir/.dirs/runtime 887s ok 2 /utils-isolated/home-dir 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/user-cache-dir/.dirs/runtime 887s ok 3 /utils-isolated/user-cache-dir 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/system-config-dirs/.dirs/runtime 887s ok 4 /utils-isolated/system-config-dirs 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/user-config-dir/.dirs/runtime 887s ok 5 /utils-isolated/user-config-dir 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/system-data-dirs/.dirs/runtime 887s ok 6 /utils-isolated/system-data-dirs 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/user-data-dir/.dirs/runtime 887s ok 7 /utils-isolated/user-data-dir 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/user-state-dir/.dirs/runtime 887s ok 8 /utils-isolated/user-state-dir 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/user-runtime-dir/.dirs/runtime 887s ok 9 /utils-isolated/user-runtime-dir 887s # Start of cleanup tests 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/runtime 887s Unable to clean up temporary directory /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 887s Unable to clean up temporary directory /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 887s Unable to clean up temporary directory /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/handles-errors: Directory not empty 887s ok 10 /utils-isolated/cleanup/handles-errors 887s ok - glib/utils-isolated.test 887s # Running test: glib/portal-support-flatpak-full.test 887s ok - glib/portal-support-flatpak-full.test 887s # Running test: glib/gutils-user-database.test 887s ok - glib/gutils-user-database.test 887s # Running test: glib/atomic-c-17.test 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 887s Unable to clean up temporary directory /tmp/test_utils-isolated_G81352/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 887s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 887s # End of cleanup tests 887s # End of utils-isolated tests 887s TAP version 14 887s # random seed: R02S0e4c2ac0b880e61144618ee96e1746be 887s 1..1 887s # Start of portal-support tests 887s # Start of flatpak tests 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/runtime 887s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_3TC452/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 887s ok 1 /portal-support/flatpak/full 887s # End of flatpak tests 887s # End of portal-support tests 887s TAP version 14 887s # random seed: R02S952f30ecbe906adf3fc2864314e299ec 887s 1..1 887s # Start of gutils tests 887s ok 1 /gutils/get_user_database_entry 887s # End of gutils tests 887s TAP version 14 887s # random seed: R02S1611ece885f3e0964671adc60381f673 887s 1..2 887s # Start of atomic tests 887s ok 1 /atomic/types 887s ok - glib/atomic-c-17.test 887s ok 2 /atomic/threaded 887s # End of atomic tests 887s # Running test: glib/fileattributematcher.test 887s TAP version 14 887s # random seed: R02S0d0e3c4fca11124142ea663db8bac2c1 887s 1..3 887s # Start of fileattributematcher tests 887s ok 1 /fileattributematcher/exact 887s ok 2 /fileattributematcher/equality 887s ok 3 /fileattributematcher/subtract 887s # End of fileattributematcher tests 887s ok - glib/fileattributematcher.test 887s # Running test: glib/642026-ec.test 887s TAP version 14 887s # random seed: R02S340e31f9c8ec05ad74e55e75bc3b2671 887s 1..1 887s # Start of glib tests 887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 887s ok - glib/642026-ec.test 887s ok 1 /glib/642026 887s # End of glib tests 887s # Running test: glib/codegen.py.test 887s # Executing: glib/codegen.py.test 887s TAP version 13 887s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 887s # gdbus-codegen: /usr/bin/gdbus-codegen 887s # tmpdir: /tmp/tmpa9ft5pgf 887s # /tmp/tmpa9ft5pgf/tmp18np96zm.xml: 887s # 887s # 887s # 887s # 887s # 887s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa9ft5pgf/tmp18np96zm.xml', '--output', '-', '--header'] 887s # Return code: 0 887s # Output: 887s # /* 887s # * This file is generated by gdbus-codegen, do not modify it. 887s # * 887s # * The license of this code is the same as for the D-Bus interface description 887s # * it was derived from. Note that it links to GLib, so must comply with the 887s # * LGPL linking clauses. 887s # */ 887s # 887s # #ifndef __STDOUT__ 887s # #define __STDOUT__ 887s # 887s # #include 887s # 887s # G_BEGIN_DECLS 887s # 887s # 887s # /* ------------------------------------------------------------------------ */ 887s # /* Declarations for org.project.UsefulInterface */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 887s # 887s # struct _OrgProjectUsefulInterface; 887s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 887s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 887s # 887s # struct _OrgProjectUsefulInterfaceIface 887s # { 887s # GTypeInterface parent_iface; 887s # 887s # gboolean (*handle_useful_method) ( 887s # OrgProjectUsefulInterface *object, 887s # GDBusMethodInvocation *invocation); 887s # 887s # }; 887s # 887s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 887s # 887s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 887s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 887s # 887s # 887s # /* D-Bus method call completion functions: */ 887s # void org_project_useful_interface_complete_useful_method ( 887s # OrgProjectUsefulInterface *object, 887s # GDBusMethodInvocation *invocation); 887s # 887s # 887s # 887s # /* D-Bus method calls: */ 887s # void org_project_useful_interface_call_useful_method ( 887s # OrgProjectUsefulInterface *proxy, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # 887s # gboolean org_project_useful_interface_call_useful_method_finish ( 887s # OrgProjectUsefulInterface *proxy, 887s # GAsyncResult *res, 887s # GError **error); 887s # 887s # gboolean org_project_useful_interface_call_useful_method_sync ( 887s # OrgProjectUsefulInterface *proxy, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # 887s # 887s # /* ---- */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 887s # 887s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 887s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 887s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 887s # 887s # struct _OrgProjectUsefulInterfaceProxy 887s # { 887s # /*< private >*/ 887s # GDBusProxy parent_instance; 887s # OrgProjectUsefulInterfaceProxyPrivate *priv; 887s # }; 887s # 887s # struct _OrgProjectUsefulInterfaceProxyClass 887s # { 887s # GDBusProxyClass parent_class; 887s # }; 887s # 887s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 887s # 887s # #if GLIB_CHECK_VERSION(2, 44, 0) 887s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 887s # #endif 887s # 887s # void org_project_useful_interface_proxy_new ( 887s # GDBusConnection *connection, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 887s # GAsyncResult *res, 887s # GError **error); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 887s # GDBusConnection *connection, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # void org_project_useful_interface_proxy_new_for_bus ( 887s # GBusType bus_type, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 887s # GAsyncResult *res, 887s # GError **error); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 887s # GBusType bus_type, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # 887s # /* ---- */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 887s # 887s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 887s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 887s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 887s # 887s # struct _OrgProjectUsefulInterfaceSkeleton 887s # { 887s # /*< private >*/ 887s # GDBusInterfaceSkeleton parent_instance; 887s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 887s # }; 887s # 887s # struct _OrgProjectUsefulInterfaceSkeletonClass 887s # { 887s # GDBusInterfaceSkeletonClass parent_class; 887s # }; 887s # 887s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 887s # 887s # #if GLIB_CHECK_VERSION(2, 44, 0) 887s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 887s # #endif 887s # 887s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 887s # 887s # 887s # G_END_DECLS 887s # 887s # #endif /* __STDOUT__ */ 887s # Error: 887s # 887s # /tmp/tmpa9ft5pgf/tmpdkh267pp.xml: 887s # 887s # 887s # 887s # 887s # 887s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa9ft5pgf/tmpdkh267pp.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 887s # Return code: 0 887s # Output: 887s # /* 887s # * This file is generated by gdbus-codegen, do not modify it. 887s # * 887s # * The license of this code is the same as for the D-Bus interface description 887s # * it was derived from. Note that it links to GLib, so must comply with the 887s # * LGPL linking clauses. 887s # */ 887s # 887s # #ifndef __STDOUT__ 887s # #define __STDOUT__ 887s # 887s # #include 887s # 887s # G_BEGIN_DECLS 887s # 887s # 887s # /* ------------------------------------------------------------------------ */ 887s # /* Declarations for org.project.UsefulInterface */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 887s # 887s # struct _OrgProjectUsefulInterface; 887s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 887s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 887s # 887s # struct _OrgProjectUsefulInterfaceIface 887s # { 887s # GTypeInterface parent_iface; 887s # 887s # gboolean (*handle_useful_method) ( 887s # OrgProjectUsefulInterface *object, 887s # GDBusMethodInvocation *invocation); 887s # 887s # }; 887s # 887s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 887s # 887s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 887s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 887s # 887s # 887s # /* D-Bus method call completion functions: */ 887s # void org_project_useful_interface_complete_useful_method ( 887s # OrgProjectUsefulInterface *object, 887s # GDBusMethodInvocation *invocation); 887s # 887s # 887s # 887s # /* D-Bus method calls: */ 887s # void org_project_useful_interface_call_useful_method ( 887s # OrgProjectUsefulInterface *proxy, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # 887s # gboolean org_project_useful_interface_call_useful_method_finish ( 887s # OrgProjectUsefulInterface *proxy, 887s # GAsyncResult *res, 887s # GError **error); 887s # 887s # gboolean org_project_useful_interface_call_useful_method_sync ( 887s # OrgProjectUsefulInterface *proxy, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # 887s # 887s # /* ---- */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 887s # 887s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 887s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 887s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 887s # 887s # struct _OrgProjectUsefulInterfaceProxy 887s # { 887s # /*< private >*/ 887s # GDBusProxy parent_instance; 887s # OrgProjectUsefulInterfaceProxyPrivate *priv; 887s # }; 887s # 887s # struct _OrgProjectUsefulInterfaceProxyClass 887s # { 887s # GDBusProxyClass parent_class; 887s # }; 887s # 887s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 887s # 887s # #if GLIB_CHECK_VERSION(2, 44, 0) 887s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 887s # #endif 887s # 887s # void org_project_useful_interface_proxy_new ( 887s # GDBusConnection *connection, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 887s # GAsyncResult *res, 887s # GError **error); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 887s # GDBusConnection *connection, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # void org_project_useful_interface_proxy_new_for_bus ( 887s # GBusType bus_type, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 887s # GAsyncResult *res, 887s # GError **error); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 887s # GBusType bus_type, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # 887s # /* ---- */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 887s # 887s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 887s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 887s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 887s # 887s # struct _OrgProjectUsefulInterfaceSkeleton 887s # { 887s # /*< private >*/ 887s # GDBusInterfaceSkeleton parent_instance; 887s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 887s # }; 887s # 887s # struct _OrgProjectUsefulInterfaceSkeletonClass 887s # { 887s # GDBusInterfaceSkeletonClass parent_class; 887s # }; 887s # 887s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 887s # 887s # #if GLIB_CHECK_VERSION(2, 44, 0) 887s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 887s # #endif 887s # 887s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 887s # 887s # 887s # G_END_DECLS 887s # 887s # #endif /* __STDOUT__ */ 887s # Error: 887s # 887s # /tmp/tmpa9ft5pgf/tmpvnvlhn7a.xml: 887s # 887s # 887s # 887s # 887s # 887s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa9ft5pgf/tmpvnvlhn7a.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 887s # Return code: 0 887s # Output: 887s # /* 887s # * This file is generated by gdbus-codegen, do not modify it. 887s # * 887s # * The license of this code is the same as for the D-Bus interface description 887s # * it was derived from. Note that it links to GLib, so must comply with the 887s # * LGPL linking clauses. 887s # */ 887s # 887s # #ifndef __STDOUT__ 887s # #define __STDOUT__ 887s # 887s # #include 887s # 887s # G_BEGIN_DECLS 887s # 887s # 887s # /* ------------------------------------------------------------------------ */ 887s # /* Declarations for org.project.UsefulInterface */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 887s # 887s # struct _OrgProjectUsefulInterface; 887s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 887s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 887s # 887s # struct _OrgProjectUsefulInterfaceIface 887s # { 887s # GTypeInterface parent_iface; 887s # 887s # gboolean (*handle_useful_method) ( 887s # OrgProjectUsefulInterface *object, 887s # GDBusMethodInvocation *invocation); 887s # 887s # }; 887s # 887s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 887s # 887s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 887s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 887s # 887s # 887s # /* D-Bus method call completion functions: */ 887s # void org_project_useful_interface_complete_useful_method ( 887s # OrgProjectUsefulInterface *object, 887s # GDBusMethodInvocation *invocation); 887s # 887s # 887s # 887s # /* D-Bus method calls: */ 887s # void org_project_useful_interface_call_useful_method ( 887s # OrgProjectUsefulInterface *proxy, 887s # GDBusCallFlags call_flags, 887s # gint timeout_msec, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # 887s # gboolean org_project_useful_interface_call_useful_method_finish ( 887s # OrgProjectUsefulInterface *proxy, 887s # GAsyncResult *res, 887s # GError **error); 887s # 887s # gboolean org_project_useful_interface_call_useful_method_sync ( 887s # OrgProjectUsefulInterface *proxy, 887s # GDBusCallFlags call_flags, 887s # gint timeout_msec, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # 887s # 887s # /* ---- */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 887s # 887s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 887s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 887s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 887s # 887s # struct _OrgProjectUsefulInterfaceProxy 887s # { 887s # /*< private >*/ 887s # GDBusProxy parent_instance; 887s # OrgProjectUsefulInterfaceProxyPrivate *priv; 887s # }; 887s # 887s # struct _OrgProjectUsefulInterfaceProxyClass 887s # { 887s # GDBusProxyClass parent_class; 887s # }; 887s # 887s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 887s # 887s # #if GLIB_CHECK_VERSION(2, 44, 0) 887s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 887s # #endif 887s # 887s # void org_project_useful_interface_proxy_new ( 887s # GDBusConnection *connection, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 887s # GAsyncResult *res, 887s # GError **error); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 887s # GDBusConnection *connection, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # void org_project_useful_interface_proxy_new_for_bus ( 887s # GBusType bus_type, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GAsyncReadyCallback callback, 887s # gpointer user_data); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 887s # GAsyncResult *res, 887s # GError **error); 887s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 887s # GBusType bus_type, 887s # GDBusProxyFlags flags, 887s # const gchar *name, 887s # const gchar *object_path, 887s # GCancellable *cancellable, 887s # GError **error); 887s # 887s # 887s # /* ---- */ 887s # 887s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 887s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 887s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 887s # 887s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 887s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 887s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 887s # 887s # struct _OrgProjectUsefulInterfaceSkeleton 887s # { 887s # /*< private >*/ 887s # GDBusInterfaceSkeleton parent_instance; 887s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 887s # }; 887s # 887s # struct _OrgProjectUsefulInterfaceSkeletonClass 887s # { 887s # GDBusInterfaceSkeletonClass parent_class; 887s # }; 887s # 887s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 887s # 887s # #if GLIB_CHECK_VERSION(2, 44, 0) 887s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 887s # #endif 887s # 887s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 887s # 887s # 887s # G_END_DECLS 887s # 887s # #endif /* __STDOUT__ */ 887s # Error: 888s ok 2 __main__.TestCodegen.test_dbus_types 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpcd8vj7bc 888s # /tmp/tmpcd8vj7bc/tmpy6k_tko5.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpy6k_tko5.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 888s # /tmp/tmpcd8vj7bc/tmp6k51t8rn.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmp6k51t8rn.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 888s # /tmp/tmpcd8vj7bc/tmpnsf8ttgq.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpnsf8ttgq.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 888s # /tmp/tmpcd8vj7bc/tmpxrp4z6qv.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpxrp4z6qv.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 888s # /tmp/tmpcd8vj7bc/tmp5gxgjupr.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmp5gxgjupr.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 888s # /tmp/tmpcd8vj7bc/tmphdz19bsd.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmphdz19bsd.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 888s # /tmp/tmpcd8vj7bc/tmprila0f2q.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmprila0f2q.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 888s # /tmp/tmpcd8vj7bc/tmphn8iayfo.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmphn8iayfo.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 888s # /tmp/tmpcd8vj7bc/tmpt7db77xu.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpt7db77xu.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 888s # /tmp/tmpcd8vj7bc/tmpgsddh2e8.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpgsddh2e8.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: D-Bus maximum signature length of 255 exceeded. 888s # /tmp/tmpcd8vj7bc/tmplh9yeu7e.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmplh9yeu7e.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: D-Bus maximum signature length of 255 exceeded. 888s # /tmp/tmpcd8vj7bc/tmpzm6k_tmu.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpzm6k_tmu.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 888s # /tmp/tmpcd8vj7bc/tmp4k213e8e.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmp4k213e8e.xml', '--output', '-', '--body'] 888s # Return code: 1 888s # Output: 888s # 888s # Error: 888s # ERROR: D-Bus maximum signature length of 255 exceeded. 888s # /tmp/tmpcd8vj7bc/tmpe1znxwwp.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpe1znxwwp.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusSignalInfo parent_struct; 888s # const gchar *signal_name; 888s # } _ExtendedGDBusSignalInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusPropertyInfo parent_struct; 888s # const gchar *hyphen_name; 888s # guint use_gvariant : 1; 888s # guint emits_changed_signal : 1; 888s # } _ExtendedGDBusPropertyInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusInterfaceInfo parent_struct; 888s # const gchar *hyphen_name; 888s # } _ExtendedGDBusInterfaceInfo; 888s # 888s # typedef struct 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # guint prop_id; 888s # GValue orig_value; /* the value before the change */ 888s # } ChangedProperty; 888s # 888s # static void 888s # _changed_property_free (ChangedProperty *data) 888s # { 888s # g_value_unset (&data->orig_value); 888s # g_free (data); 888s # } 888s # 888s # static gboolean 888s # _g_strv_equal0 (gchar **a, gchar **b) 888s # { 888s # gboolean ret = FALSE; 888s # guint n; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # if (g_strv_length (a) != g_strv_length (b)) 888s # goto out; 888s # for (n = 0; a[n] != NULL; n++) 888s # if (g_strcmp0 (a[n], b[n]) != 0) 888s # goto out; 888s # ret = TRUE; 888s # out: 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _g_variant_equal0 (GVariant *a, GVariant *b) 888s # { 888s # gboolean ret = FALSE; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # ret = g_variant_equal (a, b); 888s # out: 888s # return ret; 888s # } 888s # 888s # G_GNUC_UNUSED static gboolean 888s # _g_value_equal (const GValue *a, const GValue *b) 888s # { 888s # gboolean ret = FALSE; 888s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 888s # switch (G_VALUE_TYPE (a)) 888s # { 888s # case G_TYPE_BOOLEAN: 888s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 888s # break; 888s # case G_TYPE_UCHAR: 888s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 888s # break; 888s # case G_TYPE_INT: 888s # ret = (g_value_get_int (a) == g_value_get_int (b)); 888s # break; 888s # case G_TYPE_UINT: 888s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 888s # break; 888s # case G_TYPE_INT64: 888s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 888s # break; 888s # case G_TYPE_UINT64: 888s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 888s # break; 888s # case G_TYPE_DOUBLE: 888s # { 888s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 888s # gdouble da = g_value_get_double (a); 888s # gdouble db = g_value_get_double (b); 888s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 888s # } 888s # break; 888s # case G_TYPE_STRING: 888s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 888s # break; 888s # case G_TYPE_VARIANT: 888s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 888s # break; 888s # default: 888s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 888s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 888s # else 888s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 888s # break; 888s # } 888s # return ret; 888s # } 888s # 888s # /* ------------------------------------------------------------------------ 888s # * Code for interface GoodTypes 888s # * ------------------------------------------------------------------------ 888s # */ 888s # 888s # /** 888s # * SECTION:GoodTypes 888s # * @title: GoodTypes 888s # * @short_description: Generated C code for the GoodTypes D-Bus interface 888s # * 888s # * This section contains code for working with the GoodTypes D-Bus interface in C. 888s # */ 888s # 888s # /* ---- Introspection data for GoodTypes ---- */ 888s # 888s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 888s # { 888s # { 888s # -1, 888s # (gchar *) "GoodPropertyType", 888s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 888s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 888s # NULL 888s # }, 888s # "good-property-type", 888s # FALSE, 888s # TRUE 888s # }; 888s # 888s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 888s # { 888s # &_good_types_property_info_good_property_type.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 888s # { 888s # { 888s # -1, 888s # (gchar *) "GoodTypes", 888s # NULL, 888s # NULL, 888s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 888s # NULL 888s # }, 888s # "good-types", 888s # }; 888s # 888s # 888s # /** 888s # * good_types_interface_info: 888s # * 888s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 888s # * 888s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 888s # */ 888s # GDBusInterfaceInfo * 888s # good_types_interface_info (void) 888s # { 888s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 888s # } 888s # 888s # /** 888s # * good_types_override_properties: 888s # * @klass: The class structure for a #GObject derived class. 888s # * @property_id_begin: The property id to assign to the first overridden property. 888s # * 888s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 888s # * The properties are overridden in the order they are defined. 888s # * 888s # * Returns: The last property id. 888s # */ 888s # guint 888s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 888s # { 888s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 888s # return property_id_begin - 1; 888s # } 888s # 888s # 888s # 888s # /** 888s # * GoodTypes: 888s # * 888s # * Abstract interface type for the D-Bus interface GoodTypes. 888s # */ 888s # 888s # /** 888s # * GoodTypesIface: 888s # * @parent_iface: The parent interface. 888s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 888s # * 888s # * Virtual table for the D-Bus interface GoodTypes. 888s # */ 888s # 888s # typedef GoodTypesIface GoodTypesInterface; 888s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 888s # 888s # static void 888s # good_types_default_init (GoodTypesIface *iface) 888s # { 888s # /* GObject properties for D-Bus properties: */ 888s # /** 888s # * GoodTypes:good-property-type: 888s # * 888s # * Represents the D-Bus property "GoodPropertyType". 888s # * 888s # * 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. 888s # */ 888s # g_object_interface_install_property (iface, 888s # 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)); 888s # } 888s # 888s # /** 888s # * good_types_get_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * 888s # * Gets the value of the "GoodPropertyType" D-Bus property. 888s # * 888s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 888s # * 888s # * 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. 888s # * 888s # * 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. 888s # */ 888s # GVariant * 888s # good_types_get_good_property_type (GoodTypes *object) 888s # { 888s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 888s # 888s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 888s # } 888s # 888s # /** 888s # * good_types_dup_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * 888s # * Gets a copy of the "GoodPropertyType" D-Bus property. 888s # * 888s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 888s # * 888s # * 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(). 888s # */ 888s # GVariant * 888s # good_types_dup_good_property_type (GoodTypes *object) 888s # { 888s # GVariant *value; 888s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 888s # return value; 888s # } 888s # 888s # /** 888s # * good_types_set_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * @value: The value to set. 888s # * 888s # * Sets the "GoodPropertyType" D-Bus property to @value. 888s # * 888s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 888s # */ 888s # void 888s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 888s # { 888s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * GoodTypesProxy: 888s # * 888s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * GoodTypesProxyClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for GoodTypesProxy. 888s # */ 888s # 888s # struct _GoodTypesProxyPrivate 888s # { 888s # GData *qdata; 888s # }; 888s # 888s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 888s # G_ADD_PRIVATE (GoodTypesProxy) 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 888s # 888s # #endif 888s # static void 888s # good_types_proxy_finalize (GObject *object) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 888s # g_datalist_clear (&proxy->priv->qdata); 888s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # good_types_proxy_get_property (GObject *object, 888s # guint prop_id, 888s # GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GVariant *variant; 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 888s # if (info->use_gvariant) 888s # { 888s # g_value_set_variant (value, variant); 888s # } 888s # else 888s # { 888s # if (variant != NULL) 888s # g_dbus_gvariant_to_gvalue (variant, value); 888s # } 888s # if (variant != NULL) 888s # g_variant_unref (variant); 888s # } 888s # 888s # static void 888s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 888s # GAsyncResult *res, 888s # gpointer user_data) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info = user_data; 888s # GError *error; 888s # GVariant *_ret; 888s # error = NULL; 888s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 888s # if (!_ret) 888s # { 888s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 888s # info->parent_struct.name, 888s # error->message, g_quark_to_string (error->domain), error->code); 888s # g_error_free (error); 888s # } 888s # else 888s # { 888s # g_variant_unref (_ret); 888s # } 888s # } 888s # 888s # static void 888s # good_types_proxy_set_property (GObject *object, 888s # guint prop_id, 888s # const GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GVariant *variant; 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_dbus_proxy_call (G_DBUS_PROXY (object), 888s # "org.freedesktop.DBus.Properties.Set", 888s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 888s # g_variant_unref (variant); 888s # } 888s # 888s # static void 888s # good_types_proxy_g_signal (GDBusProxy *proxy, 888s # const gchar *sender_name G_GNUC_UNUSED, 888s # const gchar *signal_name, 888s # GVariant *parameters) 888s # { 888s # _ExtendedGDBusSignalInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # gsize n; 888s # guint signal_id; 888s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 888s # if (info == NULL) 888s # return; 888s # num_params = g_variant_n_children (parameters); 888s # paramv = g_new0 (GValue, num_params + 1); 888s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 888s # g_value_set_object (¶mv[0], proxy); 888s # g_variant_iter_init (&iter, parameters); 888s # n = 1; 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 888s # g_signal_emitv (paramv, signal_id, 0, NULL); 888s # for (n = 0; n < num_params + 1; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static void 888s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 888s # GVariant *changed_properties, 888s # const gchar *const *invalidated_properties) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 888s # guint n; 888s # const gchar *key; 888s # GVariantIter *iter; 888s # _ExtendedGDBusPropertyInfo *info; 888s # g_variant_get (changed_properties, "a{sv}", &iter); 888s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 888s # g_datalist_remove_data (&proxy->priv->qdata, key); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # g_variant_iter_free (iter); 888s # for (n = 0; invalidated_properties[n] != NULL; n++) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 888s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # } 888s # 888s # static GVariant * 888s # good_types_proxy_get_good_property_type (GoodTypes *object) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 888s # GVariant *variant; 888s # GVariant *value = NULL; 888s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 888s # value = variant; 888s # if (variant != NULL) 888s # g_variant_unref (variant); 888s # return value; 888s # } 888s # 888s # static void 888s # good_types_proxy_init (GoodTypesProxy *proxy) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # proxy->priv = good_types_proxy_get_instance_private (proxy); 888s # #else 888s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 888s # #endif 888s # 888s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 888s # } 888s # 888s # static void 888s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusProxyClass *proxy_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = good_types_proxy_finalize; 888s # gobject_class->get_property = good_types_proxy_get_property; 888s # gobject_class->set_property = good_types_proxy_set_property; 888s # 888s # proxy_class = G_DBUS_PROXY_CLASS (klass); 888s # proxy_class->g_signal = good_types_proxy_g_signal; 888s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 888s # 888s # good_types_override_properties (gobject_class, 1); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # good_types_proxy_iface_init (GoodTypesIface *iface) 888s # { 888s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 888s # * 888s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # good_types_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with good_types_proxy_new(). 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_sync: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See good_types_proxy_new() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /** 888s # * good_types_proxy_new_for_bus: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 888s # * 888s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # good_types_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_for_bus_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with good_types_proxy_new_for_bus(). 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_for_bus_sync: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * GoodTypesSkeleton: 888s # * 888s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * GoodTypesSkeletonClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for GoodTypesSkeleton. 888s # */ 888s # 888s # struct _GoodTypesSkeletonPrivate 888s # { 888s # GValue *properties; 888s # GList *changed_properties; 888s # GSource *changed_properties_idle_source; 888s # GMainContext *context; 888s # GMutex lock; 888s # }; 888s # 888s # static void 888s # _good_types_skeleton_handle_method_call ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name, 888s # const gchar *method_name, 888s # GVariant *parameters, 888s # GDBusMethodInvocation *invocation, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # _ExtendedGDBusMethodInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # guint num_extra; 888s # gsize n; 888s # guint signal_id; 888s # GValue return_value = G_VALUE_INIT; 888s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 888s # g_assert (info != NULL); 888s # num_params = g_variant_n_children (parameters); 888s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 888s # n = 0; 888s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 888s # g_value_set_object (¶mv[n++], skeleton); 888s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 888s # g_value_set_object (¶mv[n++], invocation); 888s # if (info->pass_fdlist) 888s # { 888s # #ifdef G_OS_UNIX 888s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 888s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 888s # #else 888s # g_assert_not_reached (); 888s # #endif 888s # } 888s # g_variant_iter_init (&iter, parameters); 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 888s # g_value_init (&return_value, G_TYPE_BOOLEAN); 888s # g_signal_emitv (paramv, signal_id, 0, &return_value); 888s # if (!g_value_get_boolean (&return_value)) 888s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 888s # g_value_unset (&return_value); 888s # for (n = 0; n < num_params + num_extra; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static GVariant * 888s # _good_types_skeleton_handle_get_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # GVariant *ret; 888s # ret = NULL; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # g_value_init (&value, pspec->value_type); 888s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_value_unset (&value); 888s # } 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _good_types_skeleton_handle_set_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GVariant *variant, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # gboolean ret; 888s # ret = FALSE; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # if (info->use_gvariant) 888s # g_value_set_variant (&value, variant); 888s # else 888s # g_dbus_gvariant_to_gvalue (variant, &value); 888s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # g_value_unset (&value); 888s # ret = TRUE; 888s # } 888s # return ret; 888s # } 888s # 888s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 888s # { 888s # _good_types_skeleton_handle_method_call, 888s # _good_types_skeleton_handle_get_property, 888s # _good_types_skeleton_handle_set_property, 888s # {NULL} 888s # }; 888s # 888s # static GDBusInterfaceInfo * 888s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return good_types_interface_info (); 888s # } 888s # 888s # static GDBusInterfaceVTable * 888s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 888s # } 888s # 888s # static GVariant * 888s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 888s # 888s # GVariantBuilder builder; 888s # guint n; 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #else 888s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #endif 888s # if (_good_types_interface_info.parent_struct.properties == NULL) 888s # goto out; 888s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 888s # { 888s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 888s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 888s # { 888s # GVariant *value; 888s # 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); 888s # if (value != NULL) 888s # { 888s # g_variant_take_ref (value); 888s # g_variant_builder_add (&builder, "{sv}", info->name, value); 888s # g_variant_unref (value); 888s # } 888s # } 888s # } 888s # out: 888s # return g_variant_builder_end (&builder); 888s # } 888s # 888s # static gboolean _good_types_emit_changed (gpointer user_data); 888s # 888s # static void 888s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 888s # gboolean emit_changed = FALSE; 888s # 888s # g_mutex_lock (&skeleton->priv->lock); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # { 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # skeleton->priv->changed_properties_idle_source = NULL; 888s # emit_changed = TRUE; 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # 888s # if (emit_changed) 888s # _good_types_emit_changed (skeleton); 888s # } 888s # 888s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_ADD_PRIVATE (GoodTypesSkeleton) 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 888s # 888s # #endif 888s # static void 888s # good_types_skeleton_finalize (GObject *object) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # guint n; 888s # for (n = 0; n < 1; n++) 888s # g_value_unset (&skeleton->priv->properties[n]); 888s # g_free (skeleton->priv->properties); 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # g_main_context_unref (skeleton->priv->context); 888s # g_mutex_clear (&skeleton->priv->lock); 888s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # good_types_skeleton_get_property (GObject *object, 888s # guint prop_id, 888s # GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # g_mutex_lock (&skeleton->priv->lock); 888s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # } 888s # 888s # static gboolean 888s # _good_types_emit_changed (gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GList *l; 888s # GVariantBuilder builder; 888s # GVariantBuilder invalidated_builder; 888s # guint num_changes; 888s # 888s # g_mutex_lock (&skeleton->priv->lock); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 888s # #else 888s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 888s # #endif 888s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 888s # { 888s # ChangedProperty *cp = l->data; 888s # GVariant *variant; 888s # const GValue *cur_value; 888s # 888s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 888s # if (!_g_value_equal (cur_value, &cp->orig_value)) 888s # { 888s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 888s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 888s # g_variant_unref (variant); 888s # num_changes++; 888s # } 888s # } 888s # if (num_changes > 0) 888s # { 888s # GList *connections, *ll; 888s # GVariant *signal_variant; 888s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 888s # &builder, &invalidated_builder)); 888s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 888s # for (ll = connections; ll != NULL; ll = ll->next) 888s # { 888s # GDBusConnection *connection = ll->data; 888s # 888s # g_dbus_connection_emit_signal (connection, 888s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 888s # "org.freedesktop.DBus.Properties", 888s # "PropertiesChanged", 888s # signal_variant, 888s # NULL); 888s # } 888s # g_variant_unref (signal_variant); 888s # g_list_free_full (connections, g_object_unref); 888s # } 888s # else 888s # { 888s # g_variant_builder_clear (&builder); 888s # g_variant_builder_clear (&invalidated_builder); 888s # } 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # skeleton->priv->changed_properties = NULL; 888s # skeleton->priv->changed_properties_idle_source = NULL; 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # return FALSE; 888s # } 888s # 888s # static void 888s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 888s # { 888s # ChangedProperty *cp; 888s # GList *l; 888s # cp = NULL; 888s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 888s # { 888s # ChangedProperty *i_cp = l->data; 888s # if (i_cp->info == info) 888s # { 888s # cp = i_cp; 888s # break; 888s # } 888s # } 888s # if (cp == NULL) 888s # { 888s # cp = g_new0 (ChangedProperty, 1); 888s # cp->prop_id = prop_id; 888s # cp->info = info; 888s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 888s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 888s # g_value_copy (orig_value, &cp->orig_value); 888s # } 888s # } 888s # 888s # static void 888s # good_types_skeleton_notify (GObject *object, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_mutex_lock (&skeleton->priv->lock); 888s # if (skeleton->priv->changed_properties != NULL && 888s # skeleton->priv->changed_properties_idle_source == NULL) 888s # { 888s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 888s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 888s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 888s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 888s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 888s # g_source_unref (skeleton->priv->changed_properties_idle_source); 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # } 888s # 888s # static void 888s # good_types_skeleton_set_property (GObject *object, 888s # guint prop_id, 888s # const GValue *value, 888s # GParamSpec *pspec) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # g_mutex_lock (&skeleton->priv->lock); 888s # g_object_freeze_notify (object); 888s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 888s # { 888s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 888s # info->emits_changed_signal) 888s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 888s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 888s # g_object_notify_by_pspec (object, pspec); 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # g_object_thaw_notify (object); 888s # } 888s # 888s # static void 888s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 888s # #else 888s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 888s # #endif 888s # 888s # g_mutex_init (&skeleton->priv->lock); 888s # skeleton->priv->context = g_main_context_ref_thread_default (); 888s # skeleton->priv->properties = g_new0 (GValue, 1); 888s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 888s # } 888s # 888s # static GVariant * 888s # good_types_skeleton_get_good_property_type (GoodTypes *object) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # GVariant *value; 888s # g_mutex_lock (&skeleton->priv->lock); 888s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # return value; 888s # } 888s # 888s # static void 888s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusInterfaceSkeletonClass *skeleton_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = good_types_skeleton_finalize; 888s # gobject_class->get_property = good_types_skeleton_get_property; 888s # gobject_class->set_property = good_types_skeleton_set_property; 888s # gobject_class->notify = good_types_skeleton_notify; 888s # 888s # 888s # good_types_override_properties (gobject_class, 1); 888s # 888s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 888s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 888s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 888s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 888s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # good_types_skeleton_iface_init (GoodTypesIface *iface) 888s # { 888s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 888s # } 888s # 888s # /** 888s # * good_types_skeleton_new: 888s # * 888s # * Creates a skeleton object for the D-Bus interface GoodTypes. 888s # * 888s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 888s # */ 888s # GoodTypes * 888s # good_types_skeleton_new (void) 888s # { 888s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 888s # } 888s # Error: 888s # 888s # /tmp/tmpcd8vj7bc/tmpv79a329e.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpv79a329e.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusSignalInfo parent_struct; 888s # const gchar *signal_name; 888s # } _ExtendedGDBusSignalInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusPropertyInfo parent_struct; 888s # const gchar *hyphen_name; 888s # guint use_gvariant : 1; 888s # guint emits_changed_signal : 1; 888s # } _ExtendedGDBusPropertyInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusInterfaceInfo parent_struct; 888s # const gchar *hyphen_name; 888s # } _ExtendedGDBusInterfaceInfo; 888s # 888s # typedef struct 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # guint prop_id; 888s # GValue orig_value; /* the value before the change */ 888s # } ChangedProperty; 888s # 888s # static void 888s # _changed_property_free (ChangedProperty *data) 888s # { 888s # g_value_unset (&data->orig_value); 888s # g_free (data); 888s # } 888s # 888s # static gboolean 888s # _g_strv_equal0 (gchar **a, gchar **b) 888s # { 888s # gboolean ret = FALSE; 888s # guint n; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # if (g_strv_length (a) != g_strv_length (b)) 888s # goto out; 888s # for (n = 0; a[n] != NULL; n++) 888s # if (g_strcmp0 (a[n], b[n]) != 0) 888s # goto out; 888s # ret = TRUE; 888s # out: 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _g_variant_equal0 (GVariant *a, GVariant *b) 888s # { 888s # gboolean ret = FALSE; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # ret = g_variant_equal (a, b); 888s # out: 888s # return ret; 888s # } 888s # 888s # G_GNUC_UNUSED static gboolean 888s # _g_value_equal (const GValue *a, const GValue *b) 888s # { 888s # gboolean ret = FALSE; 888s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 888s # switch (G_VALUE_TYPE (a)) 888s # { 888s # case G_TYPE_BOOLEAN: 888s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 888s # break; 888s # case G_TYPE_UCHAR: 888s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 888s # break; 888s # case G_TYPE_INT: 888s # ret = (g_value_get_int (a) == g_value_get_int (b)); 888s # break; 888s # case G_TYPE_UINT: 888s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 888s # break; 888s # case G_TYPE_INT64: 888s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 888s # break; 888s # case G_TYPE_UINT64: 888s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 888s # break; 888s # case G_TYPE_DOUBLE: 888s # { 888s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 888s # gdouble da = g_value_get_double (a); 888s # gdouble db = g_value_get_double (b); 888s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 888s # } 888s # break; 888s # case G_TYPE_STRING: 888s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 888s # break; 888s # case G_TYPE_VARIANT: 888s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 888s # break; 888s # default: 888s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 888s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 888s # else 888s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 888s # break; 888s # } 888s # return ret; 888s # } 888s # 888s # /* ------------------------------------------------------------------------ 888s # * Code for interface GoodTypes 888s # * ------------------------------------------------------------------------ 888s # */ 888s # 888s # /** 888s # * SECTION:GoodTypes 888s # * @title: GoodTypes 888s # * @short_description: Generated C code for the GoodTypes D-Bus interface 888s # * 888s # * This section contains code for working with the GoodTypes D-Bus interface in C. 888s # */ 888s # 888s # /* ---- Introspection data for GoodTypes ---- */ 888s # 888s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 888s # { 888s # { 888s # -1, 888s # (gchar *) "GoodPropertyType", 888s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 888s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 888s # NULL 888s # }, 888s # "good-property-type", 888s # FALSE, 888s # TRUE 888s # }; 888s # 888s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 888s # { 888s # &_good_types_property_info_good_property_type.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 888s # { 888s # { 888s # -1, 888s # (gchar *) "GoodTypes", 888s # NULL, 888s # NULL, 888s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 888s # NULL 888s # }, 888s # "good-types", 888s # }; 888s # 888s # 888s # /** 888s # * good_types_interface_info: 888s # * 888s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 888s # * 888s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 888s # */ 888s # GDBusInterfaceInfo * 888s # good_types_interface_info (void) 888s # { 888s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 888s # } 888s # 888s # /** 888s # * good_types_override_properties: 888s # * @klass: The class structure for a #GObject derived class. 888s # * @property_id_begin: The property id to assign to the first overridden property. 888s # * 888s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 888s # * The properties are overridden in the order they are defined. 888s # * 888s # * Returns: The last property id. 888s # */ 888s # guint 888s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 888s # { 888s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 888s # return property_id_begin - 1; 888s # } 888s # 888s # 888s # 888s # /** 888s # * GoodTypes: 888s # * 888s # * Abstract interface type for the D-Bus interface GoodTypes. 888s # */ 888s # 888s # /** 888s # * GoodTypesIface: 888s # * @parent_iface: The parent interface. 888s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 888s # * 888s # * Virtual table for the D-Bus interface GoodTypes. 888s # */ 888s # 888s # typedef GoodTypesIface GoodTypesInterface; 888s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 888s # 888s # static void 888s # good_types_default_init (GoodTypesIface *iface) 888s # { 888s # /* GObject properties for D-Bus properties: */ 888s # /** 888s # * GoodTypes:good-property-type: 888s # * 888s # * Represents the D-Bus property "GoodPropertyType". 888s # * 888s # * 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. 888s # */ 888s # g_object_interface_install_property (iface, 888s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 888s # } 888s # 888s # /** 888s # * good_types_get_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * 888s # * Gets the value of the "GoodPropertyType" D-Bus property. 888s # * 888s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 888s # * 888s # * 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. 888s # * 888s # * 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. 888s # */ 888s # GVariant * 888s # good_types_get_good_property_type (GoodTypes *object) 888s # { 888s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 888s # 888s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 888s # } 888s # 888s # /** 888s # * good_types_dup_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * 888s # * Gets a copy of the "GoodPropertyType" D-Bus property. 888s # * 888s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 888s # * 888s # * 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(). 888s # */ 888s # GVariant * 888s # good_types_dup_good_property_type (GoodTypes *object) 888s # { 888s # GVariant *value; 888s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 888s # return value; 888s # } 888s # 888s # /** 888s # * good_types_set_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * @value: The value to set. 888s # * 888s # * Sets the "GoodPropertyType" D-Bus property to @value. 888s # * 888s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 888s # */ 888s # void 888s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 888s # { 888s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * GoodTypesProxy: 888s # * 888s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * GoodTypesProxyClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for GoodTypesProxy. 888s # */ 888s # 888s # struct _GoodTypesProxyPrivate 888s # { 888s # GData *qdata; 888s # }; 888s # 888s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 888s # G_ADD_PRIVATE (GoodTypesProxy) 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 888s # 888s # #endif 888s # static void 888s # good_types_proxy_finalize (GObject *object) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 888s # g_datalist_clear (&proxy->priv->qdata); 888s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # good_types_proxy_get_property (GObject *object, 888s # guint prop_id, 888s # GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GVariant *variant; 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 888s # if (info->use_gvariant) 888s # { 888s # g_value_set_variant (value, variant); 888s # } 888s # else 888s # { 888s # if (variant != NULL) 888s # g_dbus_gvariant_to_gvalue (variant, value); 888s # } 888s # if (variant != NULL) 888s # g_variant_unref (variant); 888s # } 888s # 888s # static void 888s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 888s # GAsyncResult *res, 888s # gpointer user_data) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info = user_data; 888s # GError *error; 888s # GVariant *_ret; 888s # error = NULL; 888s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 888s # if (!_ret) 888s # { 888s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 888s # info->parent_struct.name, 888s # error->message, g_quark_to_string (error->domain), error->code); 888s # g_error_free (error); 888s # } 888s # else 888s # { 888s # g_variant_unref (_ret); 888s # } 888s # } 888s # 888s # static void 888s # good_types_proxy_set_property (GObject *object, 888s # guint prop_id, 888s # const GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GVariant *variant; 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_dbus_proxy_call (G_DBUS_PROXY (object), 888s # "org.freedesktop.DBus.Properties.Set", 888s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 888s # g_variant_unref (variant); 888s # } 888s # 888s # static void 888s # good_types_proxy_g_signal (GDBusProxy *proxy, 888s # const gchar *sender_name G_GNUC_UNUSED, 888s # const gchar *signal_name, 888s # GVariant *parameters) 888s # { 888s # _ExtendedGDBusSignalInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # gsize n; 888s # guint signal_id; 888s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 888s # if (info == NULL) 888s # return; 888s # num_params = g_variant_n_children (parameters); 888s # paramv = g_new0 (GValue, num_params + 1); 888s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 888s # g_value_set_object (¶mv[0], proxy); 888s # g_variant_iter_init (&iter, parameters); 888s # n = 1; 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 888s # g_signal_emitv (paramv, signal_id, 0, NULL); 888s # for (n = 0; n < num_params + 1; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static void 888s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 888s # GVariant *changed_properties, 888s # const gchar *const *invalidated_properties) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 888s # guint n; 888s # const gchar *key; 888s # GVariantIter *iter; 888s # _ExtendedGDBusPropertyInfo *info; 888s # g_variant_get (changed_properties, "a{sv}", &iter); 888s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 888s # g_datalist_remove_data (&proxy->priv->qdata, key); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # g_variant_iter_free (iter); 888s # for (n = 0; invalidated_properties[n] != NULL; n++) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 888s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # } 888s # 888s # static GVariant * 888s # good_types_proxy_get_good_property_type (GoodTypes *object) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 888s # GVariant *variant; 888s # GVariant *value = NULL; 888s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 888s # value = variant; 888s # if (variant != NULL) 888s # g_variant_unref (variant); 888s # return value; 888s # } 888s # 888s # static void 888s # good_types_proxy_init (GoodTypesProxy *proxy) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # proxy->priv = good_types_proxy_get_instance_private (proxy); 888s # #else 888s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 888s # #endif 888s # 888s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 888s # } 888s # 888s # static void 888s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusProxyClass *proxy_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = good_types_proxy_finalize; 888s # gobject_class->get_property = good_types_proxy_get_property; 888s # gobject_class->set_property = good_types_proxy_set_property; 888s # 888s # proxy_class = G_DBUS_PROXY_CLASS (klass); 888s # proxy_class->g_signal = good_types_proxy_g_signal; 888s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 888s # 888s # good_types_override_properties (gobject_class, 1); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # good_types_proxy_iface_init (GoodTypesIface *iface) 888s # { 888s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 888s # * 888s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # good_types_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with good_types_proxy_new(). 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_sync: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See good_types_proxy_new() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /** 888s # * good_types_proxy_new_for_bus: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 888s # * 888s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # good_types_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_for_bus_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with good_types_proxy_new_for_bus(). 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_for_bus_sync: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * GoodTypesSkeleton: 888s # * 888s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * GoodTypesSkeletonClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for GoodTypesSkeleton. 888s # */ 888s # 888s # struct _GoodTypesSkeletonPrivate 888s # { 888s # GValue *properties; 888s # GList *changed_properties; 888s # GSource *changed_properties_idle_source; 888s # GMainContext *context; 888s # GMutex lock; 888s # }; 888s # 888s # static void 888s # _good_types_skeleton_handle_method_call ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name, 888s # const gchar *method_name, 888s # GVariant *parameters, 888s # GDBusMethodInvocation *invocation, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # _ExtendedGDBusMethodInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # guint num_extra; 888s # gsize n; 888s # guint signal_id; 888s # GValue return_value = G_VALUE_INIT; 888s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 888s # g_assert (info != NULL); 888s # num_params = g_variant_n_children (parameters); 888s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 888s # n = 0; 888s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 888s # g_value_set_object (¶mv[n++], skeleton); 888s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 888s # g_value_set_object (¶mv[n++], invocation); 888s # if (info->pass_fdlist) 888s # { 888s # #ifdef G_OS_UNIX 888s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 888s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 888s # #else 888s # g_assert_not_reached (); 888s # #endif 888s # } 888s # g_variant_iter_init (&iter, parameters); 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 888s # g_value_init (&return_value, G_TYPE_BOOLEAN); 888s # g_signal_emitv (paramv, signal_id, 0, &return_value); 888s # if (!g_value_get_boolean (&return_value)) 888s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 888s # g_value_unset (&return_value); 888s # for (n = 0; n < num_params + num_extra; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static GVariant * 888s # _good_types_skeleton_handle_get_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # GVariant *ret; 888s # ret = NULL; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # g_value_init (&value, pspec->value_type); 888s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_value_unset (&value); 888s # } 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _good_types_skeleton_handle_set_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GVariant *variant, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # gboolean ret; 888s # ret = FALSE; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # if (info->use_gvariant) 888s # g_value_set_variant (&value, variant); 888s # else 888s # g_dbus_gvariant_to_gvalue (variant, &value); 888s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # g_value_unset (&value); 888s # ret = TRUE; 888s # } 888s # return ret; 888s # } 888s # 888s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 888s # { 888s # _good_types_skeleton_handle_method_call, 888s # _good_types_skeleton_handle_get_property, 888s # _good_types_skeleton_handle_set_property, 888s # {NULL} 888s # }; 888s # 888s # static GDBusInterfaceInfo * 888s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return good_types_interface_info (); 888s # } 888s # 888s # static GDBusInterfaceVTable * 888s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 888s # } 888s # 888s # static GVariant * 888s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 888s # 888s # GVariantBuilder builder; 888s # guint n; 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #else 888s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #endif 888s # if (_good_types_interface_info.parent_struct.properties == NULL) 888s # goto out; 888s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 888s # { 888s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 888s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 888s # { 888s # GVariant *value; 888s # 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); 888s # if (value != NULL) 888s # { 888s # g_variant_take_ref (value); 888s # g_variant_builder_add (&builder, "{sv}", info->name, value); 888s # g_variant_unref (value); 888s # } 888s # } 888s # } 888s # out: 888s # return g_variant_builder_end (&builder); 888s # } 888s # 888s # static gboolean _good_types_emit_changed (gpointer user_data); 888s # 888s # static void 888s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 888s # gboolean emit_changed = FALSE; 888s # 888s # g_mutex_lock (&skeleton->priv->lock); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # { 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # skeleton->priv->changed_properties_idle_source = NULL; 888s # emit_changed = TRUE; 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # 888s # if (emit_changed) 888s # _good_types_emit_changed (skeleton); 888s # } 888s # 888s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_ADD_PRIVATE (GoodTypesSkeleton) 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 888s # 888s # #endif 888s # static void 888s # good_types_skeleton_finalize (GObject *object) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # guint n; 888s # for (n = 0; n < 1; n++) 888s # g_value_unset (&skeleton->priv->properties[n]); 888s # g_free (skeleton->priv->properties); 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # g_main_context_unref (skeleton->priv->context); 888s # g_mutex_clear (&skeleton->priv->lock); 888s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # good_types_skeleton_get_property (GObject *object, 888s # guint prop_id, 888s # GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # g_mutex_lock (&skeleton->priv->lock); 888s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # } 888s # 888s # static gboolean 888s # _good_types_emit_changed (gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GList *l; 888s # GVariantBuilder builder; 888s # GVariantBuilder invalidated_builder; 888s # guint num_changes; 888s # 888s # g_mutex_lock (&skeleton->priv->lock); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 888s # #else 888s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 888s # #endif 888s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 888s # { 888s # ChangedProperty *cp = l->data; 888s # GVariant *variant; 888s # const GValue *cur_value; 888s # 888s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 888s # if (!_g_value_equal (cur_value, &cp->orig_value)) 888s # { 888s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 888s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 888s # g_variant_unref (variant); 888s # num_changes++; 888s # } 888s # } 888s # if (num_changes > 0) 888s # { 888s # GList *connections, *ll; 888s # GVariant *signal_variant; 888s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 888s # &builder, &invalidated_builder)); 888s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 888s # for (ll = connections; ll != NULL; ll = ll->next) 888s # { 888s # GDBusConnection *connection = ll->data; 888s # 888s # g_dbus_connection_emit_signal (connection, 888s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 888s # "org.freedesktop.DBus.Properties", 888s # "PropertiesChanged", 888s # signal_variant, 888s # NULL); 888s # } 888s # g_variant_unref (signal_variant); 888s # g_list_free_full (connections, g_object_unref); 888s # } 888s # else 888s # { 888s # g_variant_builder_clear (&builder); 888s # g_variant_builder_clear (&invalidated_builder); 888s # } 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # skeleton->priv->changed_properties = NULL; 888s # skeleton->priv->changed_properties_idle_source = NULL; 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # return FALSE; 888s # } 888s # 888s # static void 888s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 888s # { 888s # ChangedProperty *cp; 888s # GList *l; 888s # cp = NULL; 888s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 888s # { 888s # ChangedProperty *i_cp = l->data; 888s # if (i_cp->info == info) 888s # { 888s # cp = i_cp; 888s # break; 888s # } 888s # } 888s # if (cp == NULL) 888s # { 888s # cp = g_new0 (ChangedProperty, 1); 888s # cp->prop_id = prop_id; 888s # cp->info = info; 888s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 888s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 888s # g_value_copy (orig_value, &cp->orig_value); 888s # } 888s # } 888s # 888s # static void 888s # good_types_skeleton_notify (GObject *object, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_mutex_lock (&skeleton->priv->lock); 888s # if (skeleton->priv->changed_properties != NULL && 888s # skeleton->priv->changed_properties_idle_source == NULL) 888s # { 888s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 888s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 888s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 888s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 888s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 888s # g_source_unref (skeleton->priv->changed_properties_idle_source); 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # } 888s # 888s # static void 888s # good_types_skeleton_set_property (GObject *object, 888s # guint prop_id, 888s # const GValue *value, 888s # GParamSpec *pspec) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # g_mutex_lock (&skeleton->priv->lock); 888s # g_object_freeze_notify (object); 888s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 888s # { 888s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 888s # info->emits_changed_signal) 888s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 888s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 888s # g_object_notify_by_pspec (object, pspec); 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # g_object_thaw_notify (object); 888s # } 888s # 888s # static void 888s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 888s # #else 888s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 888s # #endif 888s # 888s # g_mutex_init (&skeleton->priv->lock); 888s # skeleton->priv->context = g_main_context_ref_thread_default (); 888s # skeleton->priv->properties = g_new0 (GValue, 1); 888s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 888s # } 888s # 888s # static GVariant * 888s # good_types_skeleton_get_good_property_type (GoodTypes *object) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # GVariant *value; 888s # g_mutex_lock (&skeleton->priv->lock); 888s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # return value; 888s # } 888s # 888s # static void 888s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusInterfaceSkeletonClass *skeleton_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = good_types_skeleton_finalize; 888s # gobject_class->get_property = good_types_skeleton_get_property; 888s # gobject_class->set_property = good_types_skeleton_set_property; 888s # gobject_class->notify = good_types_skeleton_notify; 888s # 888s # 888s # good_types_override_properties (gobject_class, 1); 888s # 888s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 888s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 888s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 888s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 888s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # good_types_skeleton_iface_init (GoodTypesIface *iface) 888s # { 888s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 888s # } 888s # 888s # /** 888s # * good_types_skeleton_new: 888s # * 888s # * Creates a skeleton object for the D-Bus interface GoodTypes. 888s # * 888s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 888s # */ 888s # GoodTypes * 888s # good_types_skeleton_new (void) 888s # { 888s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 888s # } 888s # Error: 888s # 888s # /tmp/tmpcd8vj7bc/tmpo2b2craf.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcd8vj7bc/tmpo2b2craf.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusSignalInfo parent_struct; 888s # const gchar *signal_name; 888s # } _ExtendedGDBusSignalInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusPropertyInfo parent_struct; 888s # const gchar *hyphen_name; 888s # guint use_gvariant : 1; 888s # guint emits_changed_signal : 1; 888s # } _ExtendedGDBusPropertyInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusInterfaceInfo parent_struct; 888s # const gchar *hyphen_name; 888s # } _ExtendedGDBusInterfaceInfo; 888s # 888s # typedef struct 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # guint prop_id; 888s # GValue orig_value; /* the value before the change */ 888s # } ChangedProperty; 888s # 888s # static void 888s # _changed_property_free (ChangedProperty *data) 888s # { 888s # g_value_unset (&data->orig_value); 888s # g_free (data); 888s # } 888s # 888s # static gboolean 888s # _g_strv_equal0 (gchar **a, gchar **b) 888s # { 888s # gboolean ret = FALSE; 888s # guint n; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # if (g_strv_length (a) != g_strv_length (b)) 888s # goto out; 888s # for (n = 0; a[n] != NULL; n++) 888s # if (g_strcmp0 (a[n], b[n]) != 0) 888s # goto out; 888s # ret = TRUE; 888s # out: 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _g_variant_equal0 (GVariant *a, GVariant *b) 888s # { 888s # gboolean ret = FALSE; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # ret = g_variant_equal (a, b); 888s # out: 888s # return ret; 888s # } 888s # 888s # G_GNUC_UNUSED static gboolean 888s # _g_value_equal (const GValue *a, const GValue *b) 888s # { 888s # gboolean ret = FALSE; 888s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 888s # switch (G_VALUE_TYPE (a)) 888s # { 888s # case G_TYPE_BOOLEAN: 888s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 888s # break; 888s # case G_TYPE_UCHAR: 888s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 888s # break; 888s # case G_TYPE_INT: 888s # ret = (g_value_get_int (a) == g_value_get_int (b)); 888s # break; 888s # case G_TYPE_UINT: 888s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 888s # break; 888s # case G_TYPE_INT64: 888s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 888s # break; 888s # case G_TYPE_UINT64: 888s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 888s # break; 888s # case G_TYPE_DOUBLE: 888s # { 888s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 888s # gdouble da = g_value_get_double (a); 888s # gdouble db = g_value_get_double (b); 888s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 888s # } 888s # break; 888s # case G_TYPE_STRING: 888s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 888s # break; 888s # case G_TYPE_VARIANT: 888s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 888s # break; 888s # default: 888s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 888s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 888s # else 888s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 888s # break; 888s # } 888s # return ret; 888s # } 888s # 888s # /* ------------------------------------------------------------------------ 888s # * Code for interface GoodTypes 888s # * ------------------------------------------------------------------------ 888s # */ 888s # 888s # /** 888s # * SECTION:GoodTypes 888s # * @title: GoodTypes 888s # * @short_description: Generated C code for the GoodTypes D-Bus interface 888s # * 888s # * This section contains code for working with the GoodTypes D-Bus interface in C. 888s # */ 888s # 888s # /* ---- Introspection data for GoodTypes ---- */ 888s # 888s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 888s # { 888s # { 888s # -1, 888s # (gchar *) "GoodPropertyType", 888s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 888s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 888s # NULL 888s # }, 888s # "good-property-type", 888s # FALSE, 888s # TRUE 888s # }; 888s # 888s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 888s # { 888s # &_good_types_property_info_good_property_type.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 888s # { 888s # { 888s # -1, 888s # (gchar *) "GoodTypes", 888s # NULL, 888s # NULL, 888s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 888s # NULL 888s # }, 888s # "good-types", 888s # }; 888s # 888s # 888s # /** 888s # * good_types_interface_info: 888s # * 888s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 888s # * 888s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 888s # */ 888s # GDBusInterfaceInfo * 888s # good_types_interface_info (void) 888s # { 888s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 888s # } 888s # 888s # /** 888s # * good_types_override_properties: 888s # * @klass: The class structure for a #GObject derived class. 888s # * @property_id_begin: The property id to assign to the first overridden property. 888s # * 888s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 888s # * The properties are overridden in the order they are defined. 888s # * 888s # * Returns: The last property id. 888s # */ 888s # guint 888s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 888s # { 888s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 888s # return property_id_begin - 1; 888s # } 888s # 888s # 888s # 888s # /** 888s # * GoodTypes: 888s # * 888s # * Abstract interface type for the D-Bus interface GoodTypes. 888s # */ 888s # 888s # /** 888s # * GoodTypesIface: 888s # * @parent_iface: The parent interface. 888s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 888s # * 888s # * Virtual table for the D-Bus interface GoodTypes. 888s # */ 888s # 888s # typedef GoodTypesIface GoodTypesInterface; 888s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 888s # 888s # static void 888s # good_types_default_init (GoodTypesIface *iface) 888s # { 888s # /* GObject properties for D-Bus properties: */ 888s # /** 888s # * GoodTypes:good-property-type: 888s # * 888s # * Represents the D-Bus property "GoodPropertyType". 888s # * 888s # * 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. 888s # */ 888s # g_object_interface_install_property (iface, 888s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 888s # } 888s # 888s # /** 888s # * good_types_get_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * 888s # * Gets the value of the "GoodPropertyType" D-Bus property. 888s # * 888s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 888s # * 888s # * 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. 888s # * 888s # * 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. 888s # */ 888s # GVariant * 888s # good_types_get_good_property_type (GoodTypes *object) 888s # { 888s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 888s # 888s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 888s # } 888s # 888s # /** 888s # * good_types_dup_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * 888s # * Gets a copy of the "GoodPropertyType" D-Bus property. 888s # * 888s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 888s # * 888s # * 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(). 888s # */ 888s # GVariant * 888s # good_types_dup_good_property_type (GoodTypes *object) 888s # { 888s # GVariant *value; 888s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 888s # return value; 888s # } 888s # 888s # /** 888s # * good_types_set_good_property_type: (skip) 888s # * @object: A GoodTypes. 888s # * @value: The value to set. 888s # * 888s # * Sets the "GoodPropertyType" D-Bus property to @value. 888s # * 888s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 888s # */ 888s # void 888s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 888s # { 888s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * GoodTypesProxy: 888s # * 888s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * GoodTypesProxyClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for GoodTypesProxy. 888s # */ 888s # 888s # struct _GoodTypesProxyPrivate 888s # { 888s # GData *qdata; 888s # }; 888s # 888s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 888s # G_ADD_PRIVATE (GoodTypesProxy) 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 888s # 888s # #endif 888s # static void 888s # good_types_proxy_finalize (GObject *object) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 888s # g_datalist_clear (&proxy->priv->qdata); 888s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # good_types_proxy_get_property (GObject *object, 888s # guint prop_id, 888s # GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GVariant *variant; 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 888s # if (info->use_gvariant) 888s # { 888s # g_value_set_variant (value, variant); 888s # } 888s # else 888s # { 888s # if (variant != NULL) 888s # g_dbus_gvariant_to_gvalue (variant, value); 888s # } 888s # if (variant != NULL) 888s # g_variant_unref (variant); 888s # } 888s # 888s # static void 888s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 888s # GAsyncResult *res, 888s # gpointer user_data) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info = user_data; 888s # GError *error; 888s # GVariant *_ret; 888s # error = NULL; 888s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 888s # if (!_ret) 888s # { 888s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 888s # info->parent_struct.name, 888s # error->message, g_quark_to_string (error->domain), error->code); 888s # g_error_free (error); 888s # } 888s # else 888s # { 888s # g_variant_unref (_ret); 888s # } 888s # } 888s # 888s # static void 888s # good_types_proxy_set_property (GObject *object, 888s # guint prop_id, 888s # const GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GVariant *variant; 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_dbus_proxy_call (G_DBUS_PROXY (object), 888s # "org.freedesktop.DBus.Properties.Set", 888s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 888s # g_variant_unref (variant); 888s # } 888s # 888s # static void 888s # good_types_proxy_g_signal (GDBusProxy *proxy, 888s # const gchar *sender_name G_GNUC_UNUSED, 888s # const gchar *signal_name, 888s # GVariant *parameters) 888s # { 888s # _ExtendedGDBusSignalInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # gsize n; 888s # guint signal_id; 888s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 888s # if (info == NULL) 888s # return; 888s # num_params = g_variant_n_children (parameters); 888s # paramv = g_new0 (GValue, num_params + 1); 888s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 888s # g_value_set_object (¶mv[0], proxy); 888s # g_variant_iter_init (&iter, parameters); 888s # n = 1; 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 888s # g_signal_emitv (paramv, signal_id, 0, NULL); 888s # for (n = 0; n < num_params + 1; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static void 888s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 888s # GVariant *changed_properties, 888s # const gchar *const *invalidated_properties) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 888s # guint n; 888s # const gchar *key; 888s # GVariantIter *iter; 888s # _ExtendedGDBusPropertyInfo *info; 888s # g_variant_get (changed_properties, "a{sv}", &iter); 888s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 888s # g_datalist_remove_data (&proxy->priv->qdata, key); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # g_variant_iter_free (iter); 888s # for (n = 0; invalidated_properties[n] != NULL; n++) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 888s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # } 888s # 888s # static GVariant * 888s # good_types_proxy_get_good_property_type (GoodTypes *object) 888s # { 888s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 888s # GVariant *variant; 888s # GVariant *value = NULL; 888s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 888s # value = variant; 888s # if (variant != NULL) 888s # g_variant_unref (variant); 888s # return value; 888s # } 888s # 888s # static void 888s # good_types_proxy_init (GoodTypesProxy *proxy) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # proxy->priv = good_types_proxy_get_instance_private (proxy); 888s # #else 888s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 888s # #endif 888s # 888s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 888s # } 888s # 888s # static void 888s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusProxyClass *proxy_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = good_types_proxy_finalize; 888s # gobject_class->get_property = good_types_proxy_get_property; 888s # gobject_class->set_property = good_types_proxy_set_property; 888s # 888s # proxy_class = G_DBUS_PROXY_CLASS (klass); 888s # proxy_class->g_signal = good_types_proxy_g_signal; 888s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 888s # 888s # good_types_override_properties (gobject_class, 1); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # good_types_proxy_iface_init (GoodTypesIface *iface) 888s # { 888s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 888s # * 888s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # good_types_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with good_types_proxy_new(). 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_sync: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See good_types_proxy_new() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /** 888s # * good_types_proxy_new_for_bus: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 888s # * 888s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # good_types_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_for_bus_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with good_types_proxy_new_for_bus(). 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * good_types_proxy_new_for_bus_sync: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # GoodTypes * 888s # good_types_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return GOOD_TYPES (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * GoodTypesSkeleton: 888s # * 888s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * GoodTypesSkeletonClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for GoodTypesSkeleton. 888s # */ 888s # 888s # struct _GoodTypesSkeletonPrivate 888s # { 888s # GValue *properties; 888s # GList *changed_properties; 888s # GSource *changed_properties_idle_source; 888s # GMainContext *context; 888s # GMutex lock; 888s # }; 888s # 888s # static void 888s # _good_types_skeleton_handle_method_call ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name, 888s # const gchar *method_name, 888s # GVariant *parameters, 888s # GDBusMethodInvocation *invocation, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # _ExtendedGDBusMethodInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # guint num_extra; 888s # gsize n; 888s # guint signal_id; 888s # GValue return_value = G_VALUE_INIT; 888s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 888s # g_assert (info != NULL); 888s # num_params = g_variant_n_children (parameters); 888s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 888s # n = 0; 888s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 888s # g_value_set_object (¶mv[n++], skeleton); 888s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 888s # g_value_set_object (¶mv[n++], invocation); 888s # if (info->pass_fdlist) 888s # { 888s # #ifdef G_OS_UNIX 888s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 888s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 888s # #else 888s # g_assert_not_reached (); 888s # #endif 888s # } 888s # g_variant_iter_init (&iter, parameters); 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 888s # g_value_init (&return_value, G_TYPE_BOOLEAN); 888s # g_signal_emitv (paramv, signal_id, 0, &return_value); 888s # if (!g_value_get_boolean (&return_value)) 888s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 888s # g_value_unset (&return_value); 888s # for (n = 0; n < num_params + num_extra; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static GVariant * 888s # _good_types_skeleton_handle_get_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # GVariant *ret; 888s # ret = NULL; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # g_value_init (&value, pspec->value_type); 888s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_value_unset (&value); 888s # } 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _good_types_skeleton_handle_set_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GVariant *variant, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # gboolean ret; 888s # ret = FALSE; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # if (info->use_gvariant) 888s # g_value_set_variant (&value, variant); 888s # else 888s # g_dbus_gvariant_to_gvalue (variant, &value); 888s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # g_value_unset (&value); 888s # ret = TRUE; 888s # } 888s # return ret; 888s # } 888s # 888s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 888s # { 888s # _good_types_skeleton_handle_method_call, 888s # _good_types_skeleton_handle_get_property, 888s # _good_types_skeleton_handle_set_property, 888s # {NULL} 888s # }; 888s # 888s # static GDBusInterfaceInfo * 888s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return good_types_interface_info (); 888s # } 888s # 888s # static GDBusInterfaceVTable * 888s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 888s # } 888s # 888s # static GVariant * 888s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 888s # 888s # GVariantBuilder builder; 888s # guint n; 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #else 888s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #endif 888s # if (_good_types_interface_info.parent_struct.properties == NULL) 888s # goto out; 888s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 888s # { 888s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 888s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 888s # { 888s # GVariant *value; 888s # 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); 888s # if (value != NULL) 888s # { 888s # g_variant_take_ref (value); 888s # g_variant_builder_add (&builder, "{sv}", info->name, value); 888s # g_variant_unref (value); 888s # } 888s # } 888s # } 888s # out: 888s # return g_variant_builder_end (&builder); 888s # } 888s # 888s # static gboolean _good_types_emit_changed (gpointer user_data); 888s # 888s # static void 888s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 888s # gboolean emit_changed = FALSE; 888s # 888s # g_mutex_lock (&skeleton->priv->lock); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # { 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # skeleton->priv->changed_properties_idle_source = NULL; 888s # emit_changed = TRUE; 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # 888s # if (emit_changed) 888s # _good_types_emit_changed (skeleton); 888s # } 888s # 888s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_ADD_PRIVATE (GoodTypesSkeleton) 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 888s # 888s # #endif 888s # static void 888s # good_types_skeleton_finalize (GObject *object) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # guint n; 888s # for (n = 0; n < 1; n++) 888s # g_value_unset (&skeleton->priv->properties[n]); 888s # g_free (skeleton->priv->properties); 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # g_main_context_unref (skeleton->priv->context); 888s # g_mutex_clear (&skeleton->priv->lock); 888s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # good_types_skeleton_get_property (GObject *object, 888s # guint prop_id, 888s # GValue *value, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # g_mutex_lock (&skeleton->priv->lock); 888s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # } 888s # 888s # static gboolean 888s # _good_types_emit_changed (gpointer user_data) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 888s # GList *l; 888s # GVariantBuilder builder; 888s # GVariantBuilder invalidated_builder; 888s # guint num_changes; 888s # 888s # g_mutex_lock (&skeleton->priv->lock); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 888s # #else 888s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 888s # #endif 888s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 888s # { 888s # ChangedProperty *cp = l->data; 888s # GVariant *variant; 888s # const GValue *cur_value; 888s # 888s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 888s # if (!_g_value_equal (cur_value, &cp->orig_value)) 888s # { 888s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 888s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 888s # g_variant_unref (variant); 888s # num_changes++; 888s # } 888s # } 888s # if (num_changes > 0) 888s # { 888s # GList *connections, *ll; 888s # GVariant *signal_variant; 888s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 888s # &builder, &invalidated_builder)); 888s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 888s # for (ll = connections; ll != NULL; ll = ll->next) 888s # { 888s # GDBusConnection *connection = ll->data; 888s # 888s # g_dbus_connection_emit_signal (connection, 888s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 888s # "org.freedesktop.DBus.Properties", 888s # "PropertiesChanged", 888s # signal_variant, 888s # NULL); 888s # } 888s # g_variant_unref (signal_variant); 888s # g_list_free_full (connections, g_object_unref); 888s # } 888s # else 888s # { 888s # g_variant_builder_clear (&builder); 888s # g_variant_builder_clear (&invalidated_builder); 888s # } 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # skeleton->priv->changed_properties = NULL; 888s # skeleton->priv->changed_properties_idle_source = NULL; 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # return FALSE; 888s # } 888s # 888s # static void 888s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 888s # { 888s # ChangedProperty *cp; 888s # GList *l; 888s # cp = NULL; 888s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 888s # { 888s # ChangedProperty *i_cp = l->data; 888s # if (i_cp->info == info) 888s # { 888s # cp = i_cp; 888s # break; 888s # } 888s # } 888s # if (cp == NULL) 888s # { 888s # cp = g_new0 (ChangedProperty, 1); 888s # cp->prop_id = prop_id; 888s # cp->info = info; 888s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 888s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 888s # g_value_copy (orig_value, &cp->orig_value); 888s # } 888s # } 888s # 888s # static void 888s # good_types_skeleton_notify (GObject *object, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_mutex_lock (&skeleton->priv->lock); 888s # if (skeleton->priv->changed_properties != NULL && 888s # skeleton->priv->changed_properties_idle_source == NULL) 888s # { 888s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 888s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 888s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 888s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 888s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 888s # g_source_unref (skeleton->priv->changed_properties_idle_source); 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # } 888s # 888s # static void 888s # good_types_skeleton_set_property (GObject *object, 888s # guint prop_id, 888s # const GValue *value, 888s # GParamSpec *pspec) 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # g_assert (prop_id != 0 && prop_id - 1 < 1); 888s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 888s # g_mutex_lock (&skeleton->priv->lock); 888s # g_object_freeze_notify (object); 888s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 888s # { 888s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 888s # info->emits_changed_signal) 888s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 888s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 888s # g_object_notify_by_pspec (object, pspec); 888s # } 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # g_object_thaw_notify (object); 888s # } 888s # 888s # static void 888s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 888s # #else 888s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 888s # #endif 888s # 888s # g_mutex_init (&skeleton->priv->lock); 888s # skeleton->priv->context = g_main_context_ref_thread_default (); 888s # skeleton->priv->properties = g_new0 (GValue, 1); 888s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 888s # } 888s # 888s # static GVariant * 888s # good_types_skeleton_get_good_property_type (GoodTypes *object) 888s # { 888s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 888s # GVariant *value; 888s # g_mutex_lock (&skeleton->priv->lock); 888s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 888s # g_mutex_unlock (&skeleton->priv->lock); 888s # return value; 888s # } 888s # 888s # static void 888s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusInterfaceSkeletonClass *skeleton_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = good_types_skeleton_finalize; 888s # gobject_class->get_property = good_types_skeleton_get_property; 888s # gobject_class->set_property = good_types_skeleton_set_property; 888s # gobject_class->notify = good_types_skeleton_notify; 888s # 888s # 888s # good_types_override_properties (gobject_class, 1); 888s # 888s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 888s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 888s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 888s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 888s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # good_types_skeleton_iface_init (GoodTypesIface *iface) 888s # { 888s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 888s # } 888s # 888s # /** 888s # * good_types_skeleton_new: 888s # * 888s # * Creates a skeleton object for the D-Bus interface GoodTypes. 888s # * 888s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 888s # */ 888s # GoodTypes * 888s # good_types_skeleton_new (void) 888s # { 888s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 888s # } 888s # Error: 888s ok 3 __main__.TestCodegen.test_empty_interface_body 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmp7_vmxcge 888s # /tmp/tmp7_vmxcge/tmpr5m3o36j.xml: 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7_vmxcge/tmpr5m3o36j.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusSignalInfo parent_struct; 888s # const gchar *signal_name; 888s # } _ExtendedGDBusSignalInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusPropertyInfo parent_struct; 888s # const gchar *hyphen_name; 888s # guint use_gvariant : 1; 888s # guint emits_changed_signal : 1; 888s # } _ExtendedGDBusPropertyInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusInterfaceInfo parent_struct; 888s # const gchar *hyphen_name; 888s # } _ExtendedGDBusInterfaceInfo; 888s # 888s # typedef struct 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # guint prop_id; 888s # GValue orig_value; /* the value before the change */ 888s # } ChangedProperty; 888s # 888s # static void 888s # _changed_property_free (ChangedProperty *data) 888s # { 888s # g_value_unset (&data->orig_value); 888s # g_free (data); 888s # } 888s # 888s # static gboolean 888s # _g_strv_equal0 (gchar **a, gchar **b) 888s # { 888s # gboolean ret = FALSE; 888s # guint n; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # if (g_strv_length (a) != g_strv_length (b)) 888s # goto out; 888s # for (n = 0; a[n] != NULL; n++) 888s # if (g_strcmp0 (a[n], b[n]) != 0) 888s # goto out; 888s # ret = TRUE; 888s # out: 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _g_variant_equal0 (GVariant *a, GVariant *b) 888s # { 888s # gboolean ret = FALSE; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # ret = g_variant_equal (a, b); 888s # out: 888s # return ret; 888s # } 888s # 888s # G_GNUC_UNUSED static gboolean 888s # _g_value_equal (const GValue *a, const GValue *b) 888s # { 888s # gboolean ret = FALSE; 888s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 888s # switch (G_VALUE_TYPE (a)) 888s # { 888s # case G_TYPE_BOOLEAN: 888s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 888s # break; 888s # case G_TYPE_UCHAR: 888s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 888s # break; 888s # case G_TYPE_INT: 888s # ret = (g_value_get_int (a) == g_value_get_int (b)); 888s # break; 888s # case G_TYPE_UINT: 888s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 888s # break; 888s # case G_TYPE_INT64: 888s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 888s # break; 888s # case G_TYPE_UINT64: 888s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 888s # break; 888s # case G_TYPE_DOUBLE: 888s # { 888s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 888s # gdouble da = g_value_get_double (a); 888s # gdouble db = g_value_get_double (b); 888s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 888s # } 888s # break; 888s # case G_TYPE_STRING: 888s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 888s # break; 888s # case G_TYPE_VARIANT: 888s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 888s # break; 888s # default: 888s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 888s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 888s # else 888s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 888s # break; 888s # } 888s # return ret; 888s # } 888s # Error: 888s ok 4 __main__.TestCodegen.test_empty_interface_header 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpjde_bx54 888s # /tmp/tmpjde_bx54/tmp8kq3wk4_.xml: 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjde_bx54/tmp8kq3wk4_.xml', '--output', '-', '--header'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifndef __STDOUT__ 888s # #define __STDOUT__ 888s # 888s # #include 888s # 888s # G_BEGIN_DECLS 888s # 888s # 888s # G_END_DECLS 888s # 888s # #endif /* __STDOUT__ */ 888s # Error: 888s ok 5 __main__.TestCodegen.test_empty_interface_info_body 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmppg7silk4 888s # /tmp/tmppg7silk4/tmpt6mkhzxi.xml: 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppg7silk4/tmpt6mkhzxi.xml', '--output', '-', '--interface-info-body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # Error: 888s ok 6 __main__.TestCodegen.test_empty_interface_info_header 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpxw_qecpl 888s # /tmp/tmpxw_qecpl/tmptkydhrva.xml: 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxw_qecpl/tmptkydhrva.xml', '--output', '-', '--interface-info-header'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifndef __STDOUT__ 888s # #define __STDOUT__ 888s # 888s # #include 888s # 888s # G_BEGIN_DECLS 888s # 888s # 888s # G_END_DECLS 888s # 888s # #endif /* __STDOUT__ */ 888s # Error: 888s ok 7 __main__.TestCodegen.test_generate_docbook 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpe3sjunab 888s # /tmp/tmpe3sjunab/tmpwl9rsiwh.xml: 888s # 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe3sjunab/tmpwl9rsiwh.xml', '--generate-docbook', 'test'] 888s # Return code: 0 888s # Output: 888s # 888s # Error: 888s ok 8 __main__.TestCodegen.test_generate_md 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpo_dk68e7 888s # /tmp/tmpo_dk68e7/tmpihbianzo.xml: 888s # 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo_dk68e7/tmpihbianzo.xml', '--generate-md', 'test'] 888s # Return code: 0 888s # Output: 888s # 888s # Error: 888s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpf2oca_1q 888s # /tmp/tmpf2oca_1q/tmpmswgi8o2.xml: 888s # 888s # 888s # 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf2oca_1q/tmpmswgi8o2.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusSignalInfo parent_struct; 888s # const gchar *signal_name; 888s # } _ExtendedGDBusSignalInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusPropertyInfo parent_struct; 888s # const gchar *hyphen_name; 888s # guint use_gvariant : 1; 888s # guint emits_changed_signal : 1; 888s # } _ExtendedGDBusPropertyInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusInterfaceInfo parent_struct; 888s # const gchar *hyphen_name; 888s # } _ExtendedGDBusInterfaceInfo; 888s # 888s # typedef struct 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # guint prop_id; 888s # GValue orig_value; /* the value before the change */ 888s # } ChangedProperty; 888s # 888s # static void 888s # _changed_property_free (ChangedProperty *data) 888s # { 888s # g_value_unset (&data->orig_value); 888s # g_free (data); 888s # } 888s # 888s # static gboolean 888s # _g_strv_equal0 (gchar **a, gchar **b) 888s # { 888s # gboolean ret = FALSE; 888s # guint n; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # if (g_strv_length (a) != g_strv_length (b)) 888s # goto out; 888s # for (n = 0; a[n] != NULL; n++) 888s # if (g_strcmp0 (a[n], b[n]) != 0) 888s # goto out; 888s # ret = TRUE; 888s # out: 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _g_variant_equal0 (GVariant *a, GVariant *b) 888s # { 888s # gboolean ret = FALSE; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # ret = g_variant_equal (a, b); 888s # out: 888s # return ret; 888s # } 888s # 888s # G_GNUC_UNUSED static gboolean 888s # _g_value_equal (const GValue *a, const GValue *b) 888s # { 888s # gboolean ret = FALSE; 888s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 888s # switch (G_VALUE_TYPE (a)) 888s # { 888s # case G_TYPE_BOOLEAN: 888s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 888s # break; 888s # case G_TYPE_UCHAR: 888s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 888s # break; 888s # case G_TYPE_INT: 888s # ret = (g_value_get_int (a) == g_value_get_int (b)); 888s # break; 888s # case G_TYPE_UINT: 888s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 888s # break; 888s # case G_TYPE_INT64: 888s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 888s # break; 888s # case G_TYPE_UINT64: 888s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 888s # break; 888s # case G_TYPE_DOUBLE: 888s # { 888s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 888s # gdouble da = g_value_get_double (a); 888s # gdouble db = g_value_get_double (b); 888s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 888s # } 888s # break; 888s # case G_TYPE_STRING: 888s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 888s # break; 888s # case G_TYPE_VARIANT: 888s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 888s # break; 888s # default: 888s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 888s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 888s # else 888s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 888s # break; 888s # } 888s # return ret; 888s # } 888s # 888s # static void 888s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 888s # GClosure *closure, 888s # GValue *return_value, 888s # unsigned int n_param_values, 888s # const GValue *param_values, 888s # void *invocation_hint G_GNUC_UNUSED, 888s # void *marshal_data) 888s # { 888s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 888s # (void *data1, 888s # GDBusMethodInvocation *arg_method_invocation, 888s # void *data2); 888s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 888s # GCClosure *cc = (GCClosure*) closure; 888s # void *data1, *data2; 888s # gboolean v_return; 888s # 888s # g_return_if_fail (return_value != NULL); 888s # g_return_if_fail (n_param_values == 2); 888s # 888s # if (G_CCLOSURE_SWAP_DATA (closure)) 888s # { 888s # data1 = closure->data; 888s # data2 = g_value_peek_pointer (param_values + 0); 888s # } 888s # else 888s # { 888s # data1 = g_value_peek_pointer (param_values + 0); 888s # data2 = closure->data; 888s # } 888s # 888s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 888s # (marshal_data ? marshal_data : cc->callback); 888s # 888s # v_return = 888s # callback (data1, 888s # g_marshal_value_peek_object (param_values + 1), 888s # data2); 888s # 888s # g_value_set_boolean (return_value, v_return); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ 888s # * Code for interface org.project.CallableIface 888s # * ------------------------------------------------------------------------ 888s # */ 888s # 888s # /** 888s # * SECTION:OrgProjectCallableIface 888s # * @title: OrgProjectCallableIface 888s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 888s # * 888s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 888s # */ 888s # 888s # /* ---- Introspection data for org.project.CallableIface ---- */ 888s # 888s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 888s # { 888s # { 888s # -1, 888s # (gchar *) "SimpleMethod", 888s # NULL, 888s # NULL, 888s # NULL 888s # }, 888s # "handle-simple-method", 888s # FALSE 888s # }; 888s # 888s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 888s # { 888s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 888s # { 888s # { 888s # -1, 888s # (gchar *) "org.project.CallableIface", 888s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 888s # NULL, 888s # NULL, 888s # NULL 888s # }, 888s # "org-project-callable-iface", 888s # }; 888s # 888s # 888s # /** 888s # * org_project_callable_iface_interface_info: 888s # * 888s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 888s # * 888s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 888s # */ 888s # GDBusInterfaceInfo * 888s # org_project_callable_iface_interface_info (void) 888s # { 888s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_override_properties: 888s # * @klass: The class structure for a #GObject derived class. 888s # * @property_id_begin: The property id to assign to the first overridden property. 888s # * 888s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 888s # * The properties are overridden in the order they are defined. 888s # * 888s # * Returns: The last property id. 888s # */ 888s # guint 888s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 888s # { 888s # return property_id_begin - 1; 888s # } 888s # 888s # 888s # inline static void 888s # org_project_callable_iface_method_marshal_simple_method ( 888s # GClosure *closure, 888s # GValue *return_value, 888s # unsigned int n_param_values, 888s # const GValue *param_values, 888s # void *invocation_hint, 888s # void *marshal_data) 888s # { 888s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 888s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 888s # } 888s # 888s # 888s # /** 888s # * OrgProjectCallableIface: 888s # * 888s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 888s # */ 888s # 888s # /** 888s # * OrgProjectCallableIfaceIface: 888s # * @parent_iface: The parent interface. 888s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 888s # * 888s # * Virtual table for the D-Bus interface org.project.CallableIface. 888s # */ 888s # 888s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 888s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 888s # 888s # static void 888s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 888s # { 888s # /* GObject signals for incoming D-Bus method calls: */ 888s # /** 888s # * OrgProjectCallableIface::handle-simple-method: 888s # * @object: A #OrgProjectCallableIface. 888s # * @invocation: A #GDBusMethodInvocation. 888s # * 888s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 888s # * 888s # * 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. 888s # * 888s # * 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. 888s # */ 888s # g_signal_new ("handle-simple-method", 888s # G_TYPE_FROM_INTERFACE (iface), 888s # G_SIGNAL_RUN_LAST, 888s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 888s # g_signal_accumulator_true_handled, 888s # NULL, 888s # org_project_callable_iface_method_marshal_simple_method, 888s # G_TYPE_BOOLEAN, 888s # 1, 888s # G_TYPE_DBUS_METHOD_INVOCATION); 888s # 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_call_simple_method: 888s # * @proxy: A #OrgProjectCallableIfaceProxy. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 888s # * 888s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 888s # */ 888s # void 888s # org_project_callable_iface_call_simple_method ( 888s # OrgProjectCallableIface *proxy, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 888s # "SimpleMethod", 888s # g_variant_new ("()"), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # cancellable, 888s # callback, 888s # user_data); 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_call_simple_method_finish: 888s # * @proxy: A #OrgProjectCallableIfaceProxy. 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 888s # * @error: Return location for error or %NULL. 888s # * 888s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 888s # * 888s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 888s # */ 888s # gboolean 888s # org_project_callable_iface_call_simple_method_finish ( 888s # OrgProjectCallableIface *proxy, 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GVariant *_ret; 888s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 888s # if (_ret == NULL) 888s # goto _out; 888s # g_variant_get (_ret, 888s # "()"); 888s # g_variant_unref (_ret); 888s # _out: 888s # return _ret != NULL; 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_call_simple_method_sync: 888s # * @proxy: A #OrgProjectCallableIfaceProxy. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL. 888s # * 888s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 888s # * 888s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 888s # */ 888s # gboolean 888s # org_project_callable_iface_call_simple_method_sync ( 888s # OrgProjectCallableIface *proxy, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GVariant *_ret; 888s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 888s # "SimpleMethod", 888s # g_variant_new ("()"), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # cancellable, 888s # error); 888s # if (_ret == NULL) 888s # goto _out; 888s # g_variant_get (_ret, 888s # "()"); 888s # g_variant_unref (_ret); 888s # _out: 888s # return _ret != NULL; 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_complete_simple_method: 888s # * @object: A #OrgProjectCallableIface. 888s # * @invocation: (transfer full): A #GDBusMethodInvocation. 888s # * 888s # * 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. 888s # * 888s # * This method will free @invocation, you cannot use it afterwards. 888s # */ 888s # void 888s # org_project_callable_iface_complete_simple_method ( 888s # OrgProjectCallableIface *object G_GNUC_UNUSED, 888s # GDBusMethodInvocation *invocation) 888s # { 888s # g_dbus_method_invocation_return_value (invocation, 888s # g_variant_new ("()")); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * OrgProjectCallableIfaceProxy: 888s # * 888s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * OrgProjectCallableIfaceProxyClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for #OrgProjectCallableIfaceProxy. 888s # */ 888s # 888s # struct _OrgProjectCallableIfaceProxyPrivate 888s # { 888s # GData *qdata; 888s # }; 888s # 888s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 888s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 888s # 888s # #endif 888s # static void 888s # org_project_callable_iface_proxy_finalize (GObject *object) 888s # { 888s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 888s # g_datalist_clear (&proxy->priv->qdata); 888s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 888s # guint prop_id G_GNUC_UNUSED, 888s # GValue *value G_GNUC_UNUSED, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 888s # guint prop_id G_GNUC_UNUSED, 888s # const GValue *value G_GNUC_UNUSED, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 888s # const gchar *sender_name G_GNUC_UNUSED, 888s # const gchar *signal_name, 888s # GVariant *parameters) 888s # { 888s # _ExtendedGDBusSignalInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # gsize n; 888s # guint signal_id; 888s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 888s # if (info == NULL) 888s # return; 888s # num_params = g_variant_n_children (parameters); 888s # paramv = g_new0 (GValue, num_params + 1); 888s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 888s # g_value_set_object (¶mv[0], proxy); 888s # g_variant_iter_init (&iter, parameters); 888s # n = 1; 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 888s # g_signal_emitv (paramv, signal_id, 0, NULL); 888s # for (n = 0; n < num_params + 1; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 888s # GVariant *changed_properties, 888s # const gchar *const *invalidated_properties) 888s # { 888s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 888s # guint n; 888s # const gchar *key; 888s # GVariantIter *iter; 888s # _ExtendedGDBusPropertyInfo *info; 888s # g_variant_get (changed_properties, "a{sv}", &iter); 888s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 888s # g_datalist_remove_data (&proxy->priv->qdata, key); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # g_variant_iter_free (iter); 888s # for (n = 0; invalidated_properties[n] != NULL; n++) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 888s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 888s # #else 888s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 888s # #endif 888s # 888s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusProxyClass *proxy_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 888s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 888s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 888s # 888s # proxy_class = G_DBUS_PROXY_CLASS (klass); 888s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 888s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_proxy_new: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 888s # * 888s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # org_project_callable_iface_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_proxy_new_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 888s # * 888s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectCallableIface * 888s # org_project_callable_iface_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return ORG_PROJECT_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_proxy_new_sync: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectCallableIface * 888s # org_project_callable_iface_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return ORG_PROJECT_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /** 888s # * org_project_callable_iface_proxy_new_for_bus: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 888s # * 888s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # org_project_callable_iface_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_proxy_new_for_bus_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 888s # * 888s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectCallableIface * 888s # org_project_callable_iface_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return ORG_PROJECT_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_proxy_new_for_bus_sync: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectCallableIface * 888s # org_project_callable_iface_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return ORG_PROJECT_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * OrgProjectCallableIfaceSkeleton: 888s # * 888s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * OrgProjectCallableIfaceSkeletonClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for #OrgProjectCallableIfaceSkeleton. 888s # */ 888s # 888s # struct _OrgProjectCallableIfaceSkeletonPrivate 888s # { 888s # GValue *properties; 888s # GList *changed_properties; 888s # GSource *changed_properties_idle_source; 888s # GMainContext *context; 888s # GMutex lock; 888s # }; 888s # 888s # static void 888s # _org_project_callable_iface_skeleton_handle_method_call ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name, 888s # const gchar *method_name, 888s # GVariant *parameters, 888s # GDBusMethodInvocation *invocation, 888s # gpointer user_data) 888s # { 888s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 888s # _ExtendedGDBusMethodInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # guint num_extra; 888s # gsize n; 888s # guint signal_id; 888s # GValue return_value = G_VALUE_INIT; 888s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 888s # g_assert (info != NULL); 888s # num_params = g_variant_n_children (parameters); 888s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 888s # n = 0; 888s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 888s # g_value_set_object (¶mv[n++], skeleton); 888s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 888s # g_value_set_object (¶mv[n++], invocation); 888s # if (info->pass_fdlist) 888s # { 888s # #ifdef G_OS_UNIX 888s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 888s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 888s # #else 888s # g_assert_not_reached (); 888s # #endif 888s # } 888s # g_variant_iter_init (&iter, parameters); 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 888s # g_value_init (&return_value, G_TYPE_BOOLEAN); 888s # g_signal_emitv (paramv, signal_id, 0, &return_value); 888s # if (!g_value_get_boolean (&return_value)) 888s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 888s # g_value_unset (&return_value); 888s # for (n = 0; n < num_params + num_extra; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static GVariant * 888s # _org_project_callable_iface_skeleton_handle_get_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # GVariant *ret; 888s # ret = NULL; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # g_value_init (&value, pspec->value_type); 888s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_value_unset (&value); 888s # } 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _org_project_callable_iface_skeleton_handle_set_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GVariant *variant, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # gboolean ret; 888s # ret = FALSE; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # if (info->use_gvariant) 888s # g_value_set_variant (&value, variant); 888s # else 888s # g_dbus_gvariant_to_gvalue (variant, &value); 888s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # g_value_unset (&value); 888s # ret = TRUE; 888s # } 888s # return ret; 888s # } 888s # 888s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 888s # { 888s # _org_project_callable_iface_skeleton_handle_method_call, 888s # _org_project_callable_iface_skeleton_handle_get_property, 888s # _org_project_callable_iface_skeleton_handle_set_property, 888s # {NULL} 888s # }; 888s # 888s # static GDBusInterfaceInfo * 888s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return org_project_callable_iface_interface_info (); 888s # } 888s # 888s # static GDBusInterfaceVTable * 888s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 888s # } 888s # 888s # static GVariant * 888s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 888s # 888s # GVariantBuilder builder; 888s # guint n; 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #else 888s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #endif 888s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 888s # goto out; 888s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 888s # { 888s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 888s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 888s # { 888s # GVariant *value; 888s # 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); 888s # if (value != NULL) 888s # { 888s # g_variant_take_ref (value); 888s # g_variant_builder_add (&builder, "{sv}", info->name, value); 888s # g_variant_unref (value); 888s # } 888s # } 888s # } 888s # out: 888s # return g_variant_builder_end (&builder); 888s # } 888s # 888s # static void 888s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 888s # 888s # #endif 888s # static void 888s # org_project_callable_iface_skeleton_finalize (GObject *object) 888s # { 888s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # g_main_context_unref (skeleton->priv->context); 888s # g_mutex_clear (&skeleton->priv->lock); 888s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 888s # #else 888s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 888s # #endif 888s # 888s # g_mutex_init (&skeleton->priv->lock); 888s # skeleton->priv->context = g_main_context_ref_thread_default (); 888s # } 888s # 888s # static void 888s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusInterfaceSkeletonClass *skeleton_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 888s # 888s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 888s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 888s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 888s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 888s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # /** 888s # * org_project_callable_iface_skeleton_new: 888s # * 888s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 888s # * 888s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 888s # */ 888s # OrgProjectCallableIface * 888s # org_project_callable_iface_skeleton_new (void) 888s # { 888s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ 888s # * Code for interface org.project.OtherCallableIface 888s # * ------------------------------------------------------------------------ 888s # */ 888s # 888s # /** 888s # * SECTION:OrgProjectOtherCallableIface 888s # * @title: OrgProjectOtherCallableIface 888s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 888s # * 888s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 888s # */ 888s # 888s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 888s # 888s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 888s # { 888s # { 888s # -1, 888s # (gchar *) "SimpleMethod", 888s # NULL, 888s # NULL, 888s # NULL 888s # }, 888s # "handle-simple-method", 888s # FALSE 888s # }; 888s # 888s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 888s # { 888s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 888s # { 888s # { 888s # -1, 888s # (gchar *) "org.project.OtherCallableIface", 888s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 888s # NULL, 888s # NULL, 888s # NULL 888s # }, 888s # "org-project-other-callable-iface", 888s # }; 888s # 888s # 888s # /** 888s # * org_project_other_callable_iface_interface_info: 888s # * 888s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 888s # * 888s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 888s # */ 888s # GDBusInterfaceInfo * 888s # org_project_other_callable_iface_interface_info (void) 888s # { 888s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_override_properties: 888s # * @klass: The class structure for a #GObject derived class. 888s # * @property_id_begin: The property id to assign to the first overridden property. 888s # * 888s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 888s # * The properties are overridden in the order they are defined. 888s # * 888s # * Returns: The last property id. 888s # */ 888s # guint 888s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 888s # { 888s # return property_id_begin - 1; 888s # } 888s # 888s # 888s # inline static void 888s # org_project_other_callable_iface_method_marshal_simple_method ( 888s # GClosure *closure, 888s # GValue *return_value, 888s # unsigned int n_param_values, 888s # const GValue *param_values, 888s # void *invocation_hint, 888s # void *marshal_data) 888s # { 888s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 888s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 888s # } 888s # 888s # 888s # /** 888s # * OrgProjectOtherCallableIface: 888s # * 888s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 888s # */ 888s # 888s # /** 888s # * OrgProjectOtherCallableIfaceIface: 888s # * @parent_iface: The parent interface. 888s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 888s # * 888s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 888s # */ 888s # 888s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 888s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 888s # 888s # static void 888s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 888s # { 888s # /* GObject signals for incoming D-Bus method calls: */ 888s # /** 888s # * OrgProjectOtherCallableIface::handle-simple-method: 888s # * @object: A #OrgProjectOtherCallableIface. 888s # * @invocation: A #GDBusMethodInvocation. 888s # * 888s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 888s # * 888s # * 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. 888s # * 888s # * 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. 888s # */ 888s # g_signal_new ("handle-simple-method", 888s # G_TYPE_FROM_INTERFACE (iface), 888s # G_SIGNAL_RUN_LAST, 888s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 888s # g_signal_accumulator_true_handled, 888s # NULL, 888s # org_project_other_callable_iface_method_marshal_simple_method, 888s # G_TYPE_BOOLEAN, 888s # 1, 888s # G_TYPE_DBUS_METHOD_INVOCATION); 888s # 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_call_simple_method: 888s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 888s # * 888s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 888s # */ 888s # void 888s # org_project_other_callable_iface_call_simple_method ( 888s # OrgProjectOtherCallableIface *proxy, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 888s # "SimpleMethod", 888s # g_variant_new ("()"), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # cancellable, 888s # callback, 888s # user_data); 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_call_simple_method_finish: 888s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 888s # * @error: Return location for error or %NULL. 888s # * 888s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 888s # * 888s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 888s # */ 888s # gboolean 888s # org_project_other_callable_iface_call_simple_method_finish ( 888s # OrgProjectOtherCallableIface *proxy, 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GVariant *_ret; 888s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 888s # if (_ret == NULL) 888s # goto _out; 888s # g_variant_get (_ret, 888s # "()"); 888s # g_variant_unref (_ret); 888s # _out: 888s # return _ret != NULL; 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_call_simple_method_sync: 888s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL. 888s # * 888s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 888s # * 888s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 888s # */ 888s # gboolean 888s # org_project_other_callable_iface_call_simple_method_sync ( 888s # OrgProjectOtherCallableIface *proxy, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GVariant *_ret; 888s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 888s # "SimpleMethod", 888s # g_variant_new ("()"), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # cancellable, 888s # error); 888s # if (_ret == NULL) 888s # goto _out; 888s # g_variant_get (_ret, 888s # "()"); 888s # g_variant_unref (_ret); 888s # _out: 888s # return _ret != NULL; 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_complete_simple_method: 888s # * @object: A #OrgProjectOtherCallableIface. 888s # * @invocation: (transfer full): A #GDBusMethodInvocation. 888s # * 888s # * 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. 888s # * 888s # * This method will free @invocation, you cannot use it afterwards. 888s # */ 888s # void 888s # org_project_other_callable_iface_complete_simple_method ( 888s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 888s # GDBusMethodInvocation *invocation) 888s # { 888s # g_dbus_method_invocation_return_value (invocation, 888s # g_variant_new ("()")); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * OrgProjectOtherCallableIfaceProxy: 888s # * 888s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * OrgProjectOtherCallableIfaceProxyClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 888s # */ 888s # 888s # struct _OrgProjectOtherCallableIfaceProxyPrivate 888s # { 888s # GData *qdata; 888s # }; 888s # 888s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 888s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 888s # 888s # #endif 888s # static void 888s # org_project_other_callable_iface_proxy_finalize (GObject *object) 888s # { 888s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 888s # g_datalist_clear (&proxy->priv->qdata); 888s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 888s # guint prop_id G_GNUC_UNUSED, 888s # GValue *value G_GNUC_UNUSED, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 888s # guint prop_id G_GNUC_UNUSED, 888s # const GValue *value G_GNUC_UNUSED, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 888s # const gchar *sender_name G_GNUC_UNUSED, 888s # const gchar *signal_name, 888s # GVariant *parameters) 888s # { 888s # _ExtendedGDBusSignalInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # gsize n; 888s # guint signal_id; 888s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 888s # if (info == NULL) 888s # return; 888s # num_params = g_variant_n_children (parameters); 888s # paramv = g_new0 (GValue, num_params + 1); 888s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 888s # g_value_set_object (¶mv[0], proxy); 888s # g_variant_iter_init (&iter, parameters); 888s # n = 1; 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 888s # g_signal_emitv (paramv, signal_id, 0, NULL); 888s # for (n = 0; n < num_params + 1; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 888s # GVariant *changed_properties, 888s # const gchar *const *invalidated_properties) 888s # { 888s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 888s # guint n; 888s # const gchar *key; 888s # GVariantIter *iter; 888s # _ExtendedGDBusPropertyInfo *info; 888s # g_variant_get (changed_properties, "a{sv}", &iter); 888s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 888s # g_datalist_remove_data (&proxy->priv->qdata, key); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # g_variant_iter_free (iter); 888s # for (n = 0; invalidated_properties[n] != NULL; n++) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 888s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 888s # #else 888s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 888s # #endif 888s # 888s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusProxyClass *proxy_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 888s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 888s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 888s # 888s # proxy_class = G_DBUS_PROXY_CLASS (klass); 888s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 888s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_proxy_new: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 888s # * 888s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # org_project_other_callable_iface_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_proxy_new_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 888s # * 888s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectOtherCallableIface * 888s # org_project_other_callable_iface_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_proxy_new_sync: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectOtherCallableIface * 888s # org_project_other_callable_iface_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /** 888s # * org_project_other_callable_iface_proxy_new_for_bus: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 888s # * 888s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # org_project_other_callable_iface_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # 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); 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 888s # * 888s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectOtherCallableIface * 888s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectOtherCallableIface * 888s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * OrgProjectOtherCallableIfaceSkeleton: 888s # * 888s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * OrgProjectOtherCallableIfaceSkeletonClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 888s # */ 888s # 888s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 888s # { 888s # GValue *properties; 888s # GList *changed_properties; 888s # GSource *changed_properties_idle_source; 888s # GMainContext *context; 888s # GMutex lock; 888s # }; 888s # 888s # static void 888s # _org_project_other_callable_iface_skeleton_handle_method_call ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name, 888s # const gchar *method_name, 888s # GVariant *parameters, 888s # GDBusMethodInvocation *invocation, 888s # gpointer user_data) 888s # { 888s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 888s # _ExtendedGDBusMethodInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # guint num_extra; 888s # gsize n; 888s # guint signal_id; 888s # GValue return_value = G_VALUE_INIT; 888s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 888s # g_assert (info != NULL); 888s # num_params = g_variant_n_children (parameters); 888s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 888s # n = 0; 888s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 888s # g_value_set_object (¶mv[n++], skeleton); 888s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 888s # g_value_set_object (¶mv[n++], invocation); 888s # if (info->pass_fdlist) 888s # { 888s # #ifdef G_OS_UNIX 888s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 888s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 888s # #else 888s # g_assert_not_reached (); 888s # #endif 888s # } 888s # g_variant_iter_init (&iter, parameters); 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 888s # g_value_init (&return_value, G_TYPE_BOOLEAN); 888s # g_signal_emitv (paramv, signal_id, 0, &return_value); 888s # if (!g_value_get_boolean (&return_value)) 888s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 888s # g_value_unset (&return_value); 888s # for (n = 0; n < num_params + num_extra; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static GVariant * 888s # _org_project_other_callable_iface_skeleton_handle_get_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # GVariant *ret; 888s # ret = NULL; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # g_value_init (&value, pspec->value_type); 888s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_value_unset (&value); 888s # } 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _org_project_other_callable_iface_skeleton_handle_set_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GVariant *variant, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # gboolean ret; 888s # ret = FALSE; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # if (info->use_gvariant) 888s # g_value_set_variant (&value, variant); 888s # else 888s # g_dbus_gvariant_to_gvalue (variant, &value); 888s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # g_value_unset (&value); 888s # ret = TRUE; 888s # } 888s # return ret; 888s # } 888s # 888s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 888s # { 888s # _org_project_other_callable_iface_skeleton_handle_method_call, 888s # _org_project_other_callable_iface_skeleton_handle_get_property, 888s # _org_project_other_callable_iface_skeleton_handle_set_property, 888s # {NULL} 888s # }; 888s # 888s # static GDBusInterfaceInfo * 888s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return org_project_other_callable_iface_interface_info (); 888s # } 888s # 888s # static GDBusInterfaceVTable * 888s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 888s # } 888s # 888s # static GVariant * 888s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 888s # 888s # GVariantBuilder builder; 888s # guint n; 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #else 888s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #endif 888s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 888s # goto out; 888s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 888s # { 888s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 888s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 888s # { 888s # GVariant *value; 888s # 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); 888s # if (value != NULL) 888s # { 888s # g_variant_take_ref (value); 888s # g_variant_builder_add (&builder, "{sv}", info->name, value); 888s # g_variant_unref (value); 888s # } 888s # } 888s # } 888s # out: 888s # return g_variant_builder_end (&builder); 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 888s # 888s # #endif 888s # static void 888s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 888s # { 888s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # g_main_context_unref (skeleton->priv->context); 888s # g_mutex_clear (&skeleton->priv->lock); 888s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 888s # #else 888s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 888s # #endif 888s # 888s # g_mutex_init (&skeleton->priv->lock); 888s # skeleton->priv->context = g_main_context_ref_thread_default (); 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusInterfaceSkeletonClass *skeleton_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 888s # 888s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 888s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 888s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 888s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 888s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # /** 888s # * org_project_other_callable_iface_skeleton_new: 888s # * 888s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 888s # * 888s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 888s # */ 888s # OrgProjectOtherCallableIface * 888s # org_project_other_callable_iface_skeleton_new (void) 888s # { 888s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 888s # } 888s # Error: 888s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 888s # gdbus-codegen: /usr/bin/gdbus-codegen 888s # tmpdir: /tmp/tmpq0_0_lkg 888s # /tmp/tmpq0_0_lkg/tmpr0d_ggei.xml: 888s # 888s # 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpr0d_ggei.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusSignalInfo parent_struct; 888s # const gchar *signal_name; 888s # } _ExtendedGDBusSignalInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusPropertyInfo parent_struct; 888s # const gchar *hyphen_name; 888s # guint use_gvariant : 1; 888s # guint emits_changed_signal : 1; 888s # } _ExtendedGDBusPropertyInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusInterfaceInfo parent_struct; 888s # const gchar *hyphen_name; 888s # } _ExtendedGDBusInterfaceInfo; 888s # 888s # typedef struct 888s # { 888s # const _ExtendedGDBusPropertyInfo *info; 888s # guint prop_id; 888s # GValue orig_value; /* the value before the change */ 888s # } ChangedProperty; 888s # 888s # static void 888s # _changed_property_free (ChangedProperty *data) 888s # { 888s # g_value_unset (&data->orig_value); 888s # g_free (data); 888s # } 888s # 888s # static gboolean 888s # _g_strv_equal0 (gchar **a, gchar **b) 888s # { 888s # gboolean ret = FALSE; 888s # guint n; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # if (g_strv_length (a) != g_strv_length (b)) 888s # goto out; 888s # for (n = 0; a[n] != NULL; n++) 888s # if (g_strcmp0 (a[n], b[n]) != 0) 888s # goto out; 888s # ret = TRUE; 888s # out: 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _g_variant_equal0 (GVariant *a, GVariant *b) 888s # { 888s # gboolean ret = FALSE; 888s # if (a == NULL && b == NULL) 888s # { 888s # ret = TRUE; 888s # goto out; 888s # } 888s # if (a == NULL || b == NULL) 888s # goto out; 888s # ret = g_variant_equal (a, b); 888s # out: 888s # return ret; 888s # } 888s # 888s # G_GNUC_UNUSED static gboolean 888s # _g_value_equal (const GValue *a, const GValue *b) 888s # { 888s # gboolean ret = FALSE; 888s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 888s # switch (G_VALUE_TYPE (a)) 888s # { 888s # case G_TYPE_BOOLEAN: 888s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 888s # break; 888s # case G_TYPE_UCHAR: 888s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 888s # break; 888s # case G_TYPE_INT: 888s # ret = (g_value_get_int (a) == g_value_get_int (b)); 888s # break; 888s # case G_TYPE_UINT: 888s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 888s # break; 888s # case G_TYPE_INT64: 888s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 888s # break; 888s # case G_TYPE_UINT64: 888s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 888s # break; 888s # case G_TYPE_DOUBLE: 888s # { 888s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 888s # gdouble da = g_value_get_double (a); 888s # gdouble db = g_value_get_double (b); 888s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 888s # } 888s # break; 888s # case G_TYPE_STRING: 888s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 888s # break; 888s # case G_TYPE_VARIANT: 888s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 888s # break; 888s # default: 888s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 888s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 888s # else 888s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 888s # break; 888s # } 888s # return ret; 888s # } 888s # 888s # static void 888s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 888s # GClosure *closure, 888s # GValue *return_value, 888s # unsigned int n_param_values, 888s # const GValue *param_values, 888s # void *invocation_hint G_GNUC_UNUSED, 888s # void *marshal_data) 888s # { 888s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 888s # (void *data1, 888s # GDBusMethodInvocation *arg_method_invocation, 888s # gboolean arg_arg_b, 888s # void *data2); 888s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 888s # GCClosure *cc = (GCClosure*) closure; 888s # void *data1, *data2; 888s # gboolean v_return; 888s # 888s # g_return_if_fail (return_value != NULL); 888s # g_return_if_fail (n_param_values == 3); 888s # 888s # if (G_CCLOSURE_SWAP_DATA (closure)) 888s # { 888s # data1 = closure->data; 888s # data2 = g_value_peek_pointer (param_values + 0); 888s # } 888s # else 888s # { 888s # data1 = g_value_peek_pointer (param_values + 0); 888s # data2 = closure->data; 888s # } 888s # 888s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 888s # (marshal_data ? marshal_data : cc->callback); 888s # 888s # v_return = 888s # callback (data1, 888s # g_marshal_value_peek_object (param_values + 1), 888s # g_marshal_value_peek_boolean (param_values + 2), 888s # data2); 888s # 888s # g_value_set_boolean (return_value, v_return); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ 888s # * Code for interface org.project.UsefulInterface 888s # * ------------------------------------------------------------------------ 888s # */ 888s # 888s # /** 888s # * SECTION:OrgProjectUsefulInterface 888s # * @title: OrgProjectUsefulInterface 888s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 888s # * 888s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 888s # */ 888s # 888s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 888s # 888s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 888s # { 888s # { 888s # -1, 888s # (gchar *) "arg_b", 888s # (gchar *) "b", 888s # NULL 888s # }, 888s # FALSE 888s # }; 888s # 888s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 888s # { 888s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 888s # { 888s # { 888s # -1, 888s # (gchar *) "SingleArgMethodB", 888s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 888s # NULL, 888s # NULL 888s # }, 888s # "handle-single-arg-method-b", 888s # FALSE 888s # }; 888s # 888s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 888s # { 888s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 888s # NULL 888s # }; 888s # 888s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 888s # { 888s # { 888s # -1, 888s # (gchar *) "org.project.UsefulInterface", 888s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 888s # NULL, 888s # NULL, 888s # NULL 888s # }, 888s # "org-project-useful-interface", 888s # }; 888s # 888s # 888s # /** 888s # * org_project_useful_interface_interface_info: 888s # * 888s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 888s # * 888s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 888s # */ 888s # GDBusInterfaceInfo * 888s # org_project_useful_interface_interface_info (void) 888s # { 888s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_override_properties: 888s # * @klass: The class structure for a #GObject derived class. 888s # * @property_id_begin: The property id to assign to the first overridden property. 888s # * 888s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 888s # * The properties are overridden in the order they are defined. 888s # * 888s # * Returns: The last property id. 888s # */ 888s # guint 888s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 888s # { 888s # return property_id_begin - 1; 888s # } 888s # 888s # 888s # inline static void 888s # org_project_useful_interface_method_marshal_single_arg_method_b ( 888s # GClosure *closure, 888s # GValue *return_value, 888s # unsigned int n_param_values, 888s # const GValue *param_values, 888s # void *invocation_hint, 888s # void *marshal_data) 888s # { 888s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 888s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 888s # } 888s # 888s # 888s # /** 888s # * OrgProjectUsefulInterface: 888s # * 888s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 888s # */ 888s # 888s # /** 888s # * OrgProjectUsefulInterfaceIface: 888s # * @parent_iface: The parent interface. 888s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 888s # * 888s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 888s # */ 888s # 888s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 888s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 888s # 888s # static void 888s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 888s # { 888s # /* GObject signals for incoming D-Bus method calls: */ 888s # /** 888s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 888s # * @object: A #OrgProjectUsefulInterface. 888s # * @invocation: A #GDBusMethodInvocation. 888s # * @arg_arg_b: Argument passed by remote caller. 888s # * 888s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 888s # * 888s # * 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. 888s # * 888s # * 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. 888s # */ 888s # g_signal_new ("handle-single-arg-method-b", 888s # G_TYPE_FROM_INTERFACE (iface), 888s # G_SIGNAL_RUN_LAST, 888s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 888s # g_signal_accumulator_true_handled, 888s # NULL, 888s # org_project_useful_interface_method_marshal_single_arg_method_b, 888s # G_TYPE_BOOLEAN, 888s # 2, 888s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 888s # 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_call_single_arg_method_b: 888s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 888s # * @arg_arg_b: Argument to pass with the method invocation. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 888s # * 888s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 888s # */ 888s # void 888s # org_project_useful_interface_call_single_arg_method_b ( 888s # OrgProjectUsefulInterface *proxy, 888s # gboolean arg_arg_b, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 888s # "SingleArgMethodB", 888s # g_variant_new ("(b)", 888s # arg_arg_b), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # cancellable, 888s # callback, 888s # user_data); 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_call_single_arg_method_b_finish: 888s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 888s # * @error: Return location for error or %NULL. 888s # * 888s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 888s # * 888s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 888s # */ 888s # gboolean 888s # org_project_useful_interface_call_single_arg_method_b_finish ( 888s # OrgProjectUsefulInterface *proxy, 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GVariant *_ret; 888s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 888s # if (_ret == NULL) 888s # goto _out; 888s # g_variant_get (_ret, 888s # "()"); 888s # g_variant_unref (_ret); 888s # _out: 888s # return _ret != NULL; 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_call_single_arg_method_b_sync: 888s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 888s # * @arg_arg_b: Argument to pass with the method invocation. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL. 888s # * 888s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 888s # * 888s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 888s # */ 888s # gboolean 888s # org_project_useful_interface_call_single_arg_method_b_sync ( 888s # OrgProjectUsefulInterface *proxy, 888s # gboolean arg_arg_b, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GVariant *_ret; 888s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 888s # "SingleArgMethodB", 888s # g_variant_new ("(b)", 888s # arg_arg_b), 888s # G_DBUS_CALL_FLAGS_NONE, 888s # -1, 888s # cancellable, 888s # error); 888s # if (_ret == NULL) 888s # goto _out; 888s # g_variant_get (_ret, 888s # "()"); 888s # g_variant_unref (_ret); 888s # _out: 888s # return _ret != NULL; 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_complete_single_arg_method_b: 888s # * @object: A #OrgProjectUsefulInterface. 888s # * @invocation: (transfer full): A #GDBusMethodInvocation. 888s # * 888s # * 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. 888s # * 888s # * This method will free @invocation, you cannot use it afterwards. 888s # */ 888s # void 888s # org_project_useful_interface_complete_single_arg_method_b ( 888s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 888s # GDBusMethodInvocation *invocation) 888s # { 888s # g_dbus_method_invocation_return_value (invocation, 888s # g_variant_new ("()")); 888s # } 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * OrgProjectUsefulInterfaceProxy: 888s # * 888s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * OrgProjectUsefulInterfaceProxyClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for #OrgProjectUsefulInterfaceProxy. 888s # */ 888s # 888s # struct _OrgProjectUsefulInterfaceProxyPrivate 888s # { 888s # GData *qdata; 888s # }; 888s # 888s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 888s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 888s # 888s # #endif 888s # static void 888s # org_project_useful_interface_proxy_finalize (GObject *object) 888s # { 888s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 888s # g_datalist_clear (&proxy->priv->qdata); 888s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 888s # guint prop_id G_GNUC_UNUSED, 888s # GValue *value G_GNUC_UNUSED, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 888s # guint prop_id G_GNUC_UNUSED, 888s # const GValue *value G_GNUC_UNUSED, 888s # GParamSpec *pspec G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 888s # const gchar *sender_name G_GNUC_UNUSED, 888s # const gchar *signal_name, 888s # GVariant *parameters) 888s # { 888s # _ExtendedGDBusSignalInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # gsize n; 888s # guint signal_id; 888s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 888s # if (info == NULL) 888s # return; 888s # num_params = g_variant_n_children (parameters); 888s # paramv = g_new0 (GValue, num_params + 1); 888s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 888s # g_value_set_object (¶mv[0], proxy); 888s # g_variant_iter_init (&iter, parameters); 888s # n = 1; 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 888s # g_signal_emitv (paramv, signal_id, 0, NULL); 888s # for (n = 0; n < num_params + 1; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 888s # GVariant *changed_properties, 888s # const gchar *const *invalidated_properties) 888s # { 888s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 888s # guint n; 888s # const gchar *key; 888s # GVariantIter *iter; 888s # _ExtendedGDBusPropertyInfo *info; 888s # g_variant_get (changed_properties, "a{sv}", &iter); 888s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 888s # g_datalist_remove_data (&proxy->priv->qdata, key); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # g_variant_iter_free (iter); 888s # for (n = 0; invalidated_properties[n] != NULL; n++) 888s # { 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 888s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 888s # if (info != NULL) 888s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 888s # } 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 888s # #else 888s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 888s # #endif 888s # 888s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusProxyClass *proxy_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 888s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 888s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 888s # 888s # proxy_class = G_DBUS_PROXY_CLASS (klass); 888s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 888s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_proxy_new: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 888s # * 888s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # org_project_useful_interface_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # g_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); 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_proxy_new_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 888s # * 888s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectUsefulInterface * 888s # org_project_useful_interface_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_proxy_new_sync: 888s # * @connection: A #GDBusConnection. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectUsefulInterface * 888s # org_project_useful_interface_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /** 888s # * org_project_useful_interface_proxy_new_for_bus: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 888s # * @user_data: User data to pass to @callback. 888s # * 888s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 888s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 888s # * 888s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 888s # */ 888s # void 888s # org_project_useful_interface_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data) 888s # { 888s # g_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); 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_proxy_new_for_bus_finish: 888s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 888s # * @error: Return location for error or %NULL 888s # * 888s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 888s # * 888s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectUsefulInterface * 888s # org_project_useful_interface_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error) 888s # { 888s # GObject *ret; 888s # GObject *source_object; 888s # source_object = g_async_result_get_source_object (res); 888s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 888s # g_object_unref (source_object); 888s # if (ret != NULL) 888s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_proxy_new_for_bus_sync: 888s # * @bus_type: A #GBusType. 888s # * @flags: Flags from the #GDBusProxyFlags enumeration. 888s # * @name: A bus name (well-known or unique). 888s # * @object_path: An object path. 888s # * @cancellable: (nullable): A #GCancellable or %NULL. 888s # * @error: Return location for error or %NULL 888s # * 888s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 888s # * 888s # * The calling thread is blocked until a reply is received. 888s # * 888s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 888s # * 888s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 888s # */ 888s # OrgProjectUsefulInterface * 888s # org_project_useful_interface_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error) 888s # { 888s # GInitable *ret; 888s # 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); 888s # if (ret != NULL) 888s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 888s # else 888s # return NULL; 888s # } 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # 888s # /** 888s # * OrgProjectUsefulInterfaceSkeleton: 888s # * 888s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 888s # */ 888s # 888s # /** 888s # * OrgProjectUsefulInterfaceSkeletonClass: 888s # * @parent_class: The parent class. 888s # * 888s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 888s # */ 888s # 888s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 888s # { 888s # GValue *properties; 888s # GList *changed_properties; 888s # GSource *changed_properties_idle_source; 888s # GMainContext *context; 888s # GMutex lock; 888s # }; 888s # 888s # static void 888s # _org_project_useful_interface_skeleton_handle_method_call ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name, 888s # const gchar *method_name, 888s # GVariant *parameters, 888s # GDBusMethodInvocation *invocation, 888s # gpointer user_data) 888s # { 888s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 888s # _ExtendedGDBusMethodInfo *info; 888s # GVariantIter iter; 888s # GVariant *child; 888s # GValue *paramv; 888s # gsize num_params; 888s # guint num_extra; 888s # gsize n; 888s # guint signal_id; 888s # GValue return_value = G_VALUE_INIT; 888s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 888s # g_assert (info != NULL); 888s # num_params = g_variant_n_children (parameters); 888s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 888s # n = 0; 888s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 888s # g_value_set_object (¶mv[n++], skeleton); 888s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 888s # g_value_set_object (¶mv[n++], invocation); 888s # if (info->pass_fdlist) 888s # { 888s # #ifdef G_OS_UNIX 888s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 888s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 888s # #else 888s # g_assert_not_reached (); 888s # #endif 888s # } 888s # g_variant_iter_init (&iter, parameters); 888s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 888s # { 888s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 888s # if (arg_info->use_gvariant) 888s # { 888s # g_value_init (¶mv[n], G_TYPE_VARIANT); 888s # g_value_set_variant (¶mv[n], child); 888s # n++; 888s # } 888s # else 888s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 888s # g_variant_unref (child); 888s # } 888s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 888s # g_value_init (&return_value, G_TYPE_BOOLEAN); 888s # g_signal_emitv (paramv, signal_id, 0, &return_value); 888s # if (!g_value_get_boolean (&return_value)) 888s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 888s # g_value_unset (&return_value); 888s # for (n = 0; n < num_params + num_extra; n++) 888s # g_value_unset (¶mv[n]); 888s # g_free (paramv); 888s # } 888s # 888s # static GVariant * 888s # _org_project_useful_interface_skeleton_handle_get_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # GVariant *ret; 888s # ret = NULL; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # g_value_init (&value, pspec->value_type); 888s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 888s # g_value_unset (&value); 888s # } 888s # return ret; 888s # } 888s # 888s # static gboolean 888s # _org_project_useful_interface_skeleton_handle_set_property ( 888s # GDBusConnection *connection G_GNUC_UNUSED, 888s # const gchar *sender G_GNUC_UNUSED, 888s # const gchar *object_path G_GNUC_UNUSED, 888s # const gchar *interface_name G_GNUC_UNUSED, 888s # const gchar *property_name, 888s # GVariant *variant, 888s # GError **error, 888s # gpointer user_data) 888s # { 888s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 888s # GValue value = G_VALUE_INIT; 888s # GParamSpec *pspec; 888s # _ExtendedGDBusPropertyInfo *info; 888s # gboolean ret; 888s # ret = FALSE; 888s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 888s # g_assert (info != NULL); 888s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 888s # if (pspec == NULL) 888s # { 888s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 888s # } 888s # else 888s # { 888s # if (info->use_gvariant) 888s # g_value_set_variant (&value, variant); 888s # else 888s # g_dbus_gvariant_to_gvalue (variant, &value); 888s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 888s # g_value_unset (&value); 888s # ret = TRUE; 888s # } 888s # return ret; 888s # } 888s # 888s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 888s # { 888s # _org_project_useful_interface_skeleton_handle_method_call, 888s # _org_project_useful_interface_skeleton_handle_get_property, 888s # _org_project_useful_interface_skeleton_handle_set_property, 888s # {NULL} 888s # }; 888s # 888s # static GDBusInterfaceInfo * 888s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return org_project_useful_interface_interface_info (); 888s # } 888s # 888s # static GDBusInterfaceVTable * 888s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 888s # { 888s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 888s # } 888s # 888s # static GVariant * 888s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 888s # { 888s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 888s # 888s # GVariantBuilder builder; 888s # guint n; 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 888s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #else 888s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 888s # #endif 888s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 888s # goto out; 888s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 888s # { 888s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 888s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 888s # { 888s # GVariant *value; 888s # 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); 888s # if (value != NULL) 888s # { 888s # g_variant_take_ref (value); 888s # g_variant_builder_add (&builder, "{sv}", info->name, value); 888s # g_variant_unref (value); 888s # } 888s # } 888s # } 888s # out: 888s # return g_variant_builder_end (&builder); 888s # } 888s # 888s # static void 888s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 888s # 888s # #else 888s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 888s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 888s # 888s # #endif 888s # static void 888s # org_project_useful_interface_skeleton_finalize (GObject *object) 888s # { 888s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 888s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 888s # if (skeleton->priv->changed_properties_idle_source != NULL) 888s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 888s # g_main_context_unref (skeleton->priv->context); 888s # g_mutex_clear (&skeleton->priv->lock); 888s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 888s # } 888s # 888s # static void 888s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 888s # { 888s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 888s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 888s # #else 888s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 888s # #endif 888s # 888s # g_mutex_init (&skeleton->priv->lock); 888s # skeleton->priv->context = g_main_context_ref_thread_default (); 888s # } 888s # 888s # static void 888s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 888s # { 888s # GObjectClass *gobject_class; 888s # GDBusInterfaceSkeletonClass *skeleton_class; 888s # 888s # gobject_class = G_OBJECT_CLASS (klass); 888s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 888s # 888s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 888s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 888s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 888s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 888s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 888s # 888s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 888s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 888s # #endif 888s # } 888s # 888s # static void 888s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 888s # { 888s # } 888s # 888s # /** 888s # * org_project_useful_interface_skeleton_new: 888s # * 888s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 888s # * 888s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 888s # */ 888s # OrgProjectUsefulInterface * 888s # org_project_useful_interface_skeleton_new (void) 888s # { 888s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 888s # } 888s # Error: 888s # 888s # /tmp/tmpq0_0_lkg/tmppe1n5rq7.xml: 888s # 888s # 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmppe1n5rq7.xml', '--output', '-', '--body'] 888s # Return code: 0 888s # Output: 888s # /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifdef HAVE_CONFIG_H 888s # # include "config.h" 888s # #endif 888s # 888s # #include 888s # #ifdef G_OS_UNIX 888s # # include 888s # #endif 888s # 888s # #ifdef G_ENABLE_DEBUG 888s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 888s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 888s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 888s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 888s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 888s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 888s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 888s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 888s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 888s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 888s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 888s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 888s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 888s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 888s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 888s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 888s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 888s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 888s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 888s # #else /* !G_ENABLE_DEBUG */ 888s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 888s # * Do not access GValues directly in your code. Instead, use the 888s # * g_value_get_*() functions 888s # */ 888s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 888s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 888s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 888s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 888s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 888s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 888s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 888s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 888s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 888s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 888s # #endif /* !G_ENABLE_DEBUG */ 888s # 888s # typedef struct 888s # { 888s # GDBusArgInfo parent_struct; 888s # gboolean use_gvariant; 888s # } _ExtendedGDBusArgInfo; 888s # 888s # typedef struct 888s # { 888s # GDBusMethodInfo parent_struct; 888s # const gchar *signal_name; 888s # gboolean pass_fdlist; 888s # } _ExtendedGDBusMethodInfo; 888s # 888s # typedef struct 888s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # guchar arg_arg_y, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_uchar (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodY", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-y", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_y ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_y: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-y", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_y, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_y: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_y: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_y ( 889s # OrgProjectUsefulInterface *proxy, 889s # guchar arg_arg_y, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodY", 889s # g_variant_new ("(y)", 889s # arg_arg_y), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_y_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_y_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_y_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_y: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_y_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guchar arg_arg_y, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodY", 889s # g_variant_new ("(y)", 889s # arg_arg_y), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_y: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_y ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpq01dq76v.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpq01dq76v.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # gint16 arg_arg_n, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_int (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodN", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-n", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_n ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_n: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-n", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_n, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_n: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_n: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_n ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint16 arg_arg_n, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodN", 889s # g_variant_new ("(n)", 889s # arg_arg_n), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_n_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_n_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_n_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_n: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_n_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint16 arg_arg_n, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodN", 889s # g_variant_new ("(n)", 889s # arg_arg_n), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_n: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_n ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpsdwria1t.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpsdwria1t.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # guint16 arg_arg_q, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_uint (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodQ", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-q", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_q ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_q: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-q", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_q, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_q: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_q: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_q ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint16 arg_arg_q, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodQ", 889s # g_variant_new ("(q)", 889s # arg_arg_q), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_q_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_q_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_q_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_q: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_q_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint16 arg_arg_q, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodQ", 889s # g_variant_new ("(q)", 889s # arg_arg_q), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_q: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_q ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp0ruwb8zl.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp0ruwb8zl.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # gint arg_arg_i, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_int (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodI", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-i", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_i ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_i: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-i", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_i, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_i: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_i: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_i ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint arg_arg_i, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodI", 889s # g_variant_new ("(i)", 889s # arg_arg_i), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_i_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_i_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_i_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_i: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_i_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint arg_arg_i, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodI", 889s # g_variant_new ("(i)", 889s # arg_arg_i), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_i: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_i ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpudw11mh8.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpudw11mh8.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # guint arg_arg_u, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_uint (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodU", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-u", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_u ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_u: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-u", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_u, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_u: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_u: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_u ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint arg_arg_u, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodU", 889s # g_variant_new ("(u)", 889s # arg_arg_u), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_u_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_u_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_u_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_u: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_u_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint arg_arg_u, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodU", 889s # g_variant_new ("(u)", 889s # arg_arg_u), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_u: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_u ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpuytbv5no.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpuytbv5no.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # gint64 arg_arg_x, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_int64 (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodX", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-x", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_x ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_x: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-x", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_x, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_x: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_x: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_x ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint64 arg_arg_x, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodX", 889s # g_variant_new ("(x)", 889s # arg_arg_x), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_x_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_x_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_x_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_x: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_x_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint64 arg_arg_x, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodX", 889s # g_variant_new ("(x)", 889s # arg_arg_x), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_x: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_x ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpdwqey7f4.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpdwqey7f4.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # guint64 arg_arg_t, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_uint64 (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodT", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-t", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_t ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_t: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-t", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_t, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_t: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_t: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_t ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint64 arg_arg_t, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodT", 889s # g_variant_new ("(t)", 889s # arg_arg_t), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_t_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_t_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_t_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_t: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_t_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint64 arg_arg_t, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodT", 889s # g_variant_new ("(t)", 889s # arg_arg_t), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_t: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_t ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpqn5_cu5z.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpqn5_cu5z.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # gdouble arg_arg_d, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_double (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodD", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-d", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_d ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_d: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-d", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_d, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_d: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_d: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_d ( 889s # OrgProjectUsefulInterface *proxy, 889s # gdouble arg_arg_d, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodD", 889s # g_variant_new ("(d)", 889s # arg_arg_d), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_d_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_d_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_d_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_d: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_d_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gdouble arg_arg_d, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodD", 889s # g_variant_new ("(d)", 889s # arg_arg_d), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_d: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_d ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp5rovy49b.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp5rovy49b.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *arg_arg_s, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_string (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodS", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-s", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_s ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_s: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-s", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_s, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_s: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_s: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_s ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_s, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodS", 889s # g_variant_new ("(s)", 889s # arg_arg_s), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_s_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_s_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_s_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_s: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_s_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_s, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodS", 889s # g_variant_new ("(s)", 889s # arg_arg_s), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_s: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_s ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp1jz86tt_.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp1jz86tt_.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *arg_arg_o, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_string (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodO", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-o", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_o ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_o: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-o", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_o, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_o: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_o: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_o ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_o, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodO", 889s # g_variant_new ("(o)", 889s # arg_arg_o), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_o_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_o_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_o_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_o: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_o_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_o, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodO", 889s # g_variant_new ("(o)", 889s # arg_arg_o), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_o: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_o ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp11ijzvx_.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp11ijzvx_.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *arg_arg_g, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_string (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodG", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-g", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_g ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_g: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-g", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_g, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_g: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_g: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_g ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_g, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodG", 889s # g_variant_new ("(g)", 889s # arg_arg_g), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_g_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_g_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_g_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_g: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_g_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_g, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodG", 889s # g_variant_new ("(g)", 889s # arg_arg_g), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_g: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_g ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpg_j4a61o.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpg_j4a61o.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # GVariant *arg_arg_h, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_variant (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodH", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-h", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_h ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_h: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-h", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_h, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_h: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_h: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_h ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant *arg_arg_h, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodH", 889s # g_variant_new ("(@h)", 889s # arg_arg_h), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_h_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_h_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_h_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_h: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_h_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant *arg_arg_h, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodH", 889s # g_variant_new ("(@h)", 889s # arg_arg_h), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_h: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_h ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmpio_ejeah.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmpio_ejeah.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *arg_arg_ay, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_string (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAy", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-ay", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_ay: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-ay", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_ay, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ay: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_ay: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_ay ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_ay, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAy", 889s # g_variant_new ("(^ay)", 889s # arg_arg_ay), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ay_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ay_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ay_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_ay: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ay_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *arg_arg_ay, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAy", 889s # g_variant_new ("(^ay)", 889s # arg_arg_ay), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_ay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_ay ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp0fz9xohi.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp0fz9xohi.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *const *arg_arg_as, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_boxed (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAs", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-as", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_as ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_as: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-as", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_as, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_as: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_as: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_as ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *const *arg_arg_as, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAs", 889s # g_variant_new ("(^as)", 889s # arg_arg_as), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_as_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_as_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_as_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_as: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_as_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *const *arg_arg_as, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAs", 889s # g_variant_new ("(^as)", 889s # arg_arg_as), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_as: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_as ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmproaewsx7.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmproaewsx7.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *const *arg_arg_ao, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_boxed (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAo", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-ao", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_ao: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-ao", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_ao, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ao: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_ao: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_ao ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *const *arg_arg_ao, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAo", 889s # g_variant_new ("(^ao)", 889s # arg_arg_ao), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ao_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ao_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ao_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_ao: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ao_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *const *arg_arg_ao, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAo", 889s # g_variant_new ("(^ao)", 889s # arg_arg_ao), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_ao: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_ao ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp21wfi_9b.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp21wfi_9b.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # const gchar *const *arg_arg_aay, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_boxed (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAay", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-aay", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_aay: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-aay", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_aay, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_aay: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_aay: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_aay ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *const *arg_arg_aay, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAay", 889s # g_variant_new ("(^aay)", 889s # arg_arg_aay), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_aay_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_aay_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_aay_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_aay: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_aay_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # const gchar *const *arg_arg_aay, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAay", 889s # g_variant_new ("(^aay)", 889s # arg_arg_aay), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_aay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_aay ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpq0_0_lkg/tmp2uier2k9.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0_0_lkg/tmp2uier2k9.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # GVariant *arg_arg_asv, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 3); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_variant (param_values + 2), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAsv", 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-single-arg-method-asv", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_arg_asv: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-asv", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_asv, 889s # G_TYPE_BOOLEAN, 889s # 2, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_asv: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_asv ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant *arg_arg_asv, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAsv", 889s # g_variant_new ("(@a{sv})", 889s # arg_arg_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_asv_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_asv_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_asv_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @arg_arg_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_asv_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant *arg_arg_asv, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAsv", 889s # g_variant_new ("(@a{sv})", 889s # arg_arg_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_asv: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_asv ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmpwlrwhltf 889s # /tmp/tmpwlrwhltf/tmpnz7b43cf.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpnz7b43cf.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodB", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-b", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_b ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-b", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_b, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_b: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_b ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodB", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_b_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_b_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gboolean *out_arg_b, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(b)", 889s # out_arg_b); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_b_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_b_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gboolean *out_arg_b, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodB", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(b)", 889s # out_arg_b); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_b: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_b: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_b ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # gboolean arg_b) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(b)", 889s # arg_b)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmp5yjkp_y_.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmp5yjkp_y_.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodY", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-y", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_y ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-y", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_y, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_y: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_y ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodY", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_y_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_y_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # guchar *out_arg_y, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(y)", 889s # out_arg_y); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_y_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_y_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guchar *out_arg_y, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodY", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(y)", 889s # out_arg_y); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_y: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_y: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_y ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # guchar arg_y) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(y)", 889s # arg_y)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmp2gnvunrm.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmp2gnvunrm.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodN", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-n", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_n ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-n", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_n, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_n: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_n ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodN", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_n_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_n_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint16 *out_arg_n, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(n)", 889s # out_arg_n); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_n_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_n_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint16 *out_arg_n, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodN", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(n)", 889s # out_arg_n); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_n: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_n: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_n ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # gint16 arg_n) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(n)", 889s # arg_n)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmprzjrzmsc.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmprzjrzmsc.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodQ", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-q", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_q ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-q", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_q, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_q: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_q ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodQ", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_q_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_q_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint16 *out_arg_q, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(q)", 889s # out_arg_q); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_q_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_q_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint16 *out_arg_q, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodQ", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(q)", 889s # out_arg_q); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_q: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_q: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_q ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # guint16 arg_q) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(q)", 889s # arg_q)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmptflq0shp.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmptflq0shp.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodI", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-i", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_i ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-i", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_i, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_i: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_i ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodI", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_i_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_i_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint *out_arg_i, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(i)", 889s # out_arg_i); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_i_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_i_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint *out_arg_i, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodI", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(i)", 889s # out_arg_i); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_i: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_i: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_i ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # gint arg_i) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(i)", 889s # arg_i)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpl3_sckmy.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpl3_sckmy.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodU", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-u", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_u ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-u", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_u, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_u: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_u ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodU", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_u_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_u_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint *out_arg_u, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(u)", 889s # out_arg_u); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_u_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_u_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint *out_arg_u, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodU", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(u)", 889s # out_arg_u); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_u: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_u: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_u ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # guint arg_u) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(u)", 889s # arg_u)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmp301f58zs.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmp301f58zs.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodX", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-x", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_x ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-x", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_x, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_x: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_x ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodX", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_x_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_x_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint64 *out_arg_x, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(x)", 889s # out_arg_x); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_x_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_x_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gint64 *out_arg_x, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodX", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(x)", 889s # out_arg_x); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_x: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_x: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_x ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # gint64 arg_x) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(x)", 889s # arg_x)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpot9qpk82.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpot9qpk82.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodT", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-t", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_t ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-t", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_t, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_t: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_t ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodT", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_t_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_t_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint64 *out_arg_t, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(t)", 889s # out_arg_t); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_t_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_t_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # guint64 *out_arg_t, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodT", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(t)", 889s # out_arg_t); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_t: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_t: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_t ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # guint64 arg_t) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(t)", 889s # arg_t)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpraza1qxe.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpraza1qxe.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodD", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-d", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_d ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-d", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_d, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_d: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_d ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodD", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_d_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_d_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gdouble *out_arg_d, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(d)", 889s # out_arg_d); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_d_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_d_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gdouble *out_arg_d, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodD", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(d)", 889s # out_arg_d); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_d: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_d: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_d ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # gdouble arg_d) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(d)", 889s # arg_d)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmp8qe3ne0z.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmp8qe3ne0z.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodS", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-s", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_s ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-s", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_s, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_s: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_s ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodS", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_s_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_s_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_s, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(s)", 889s # out_arg_s); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_s_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_s_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_s, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodS", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(s)", 889s # out_arg_s); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_s: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_s: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_s ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *arg_s) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(s)", 889s # arg_s)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmp8yqptedv.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmp8yqptedv.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodO", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-o", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_o ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-o", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_o, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_o: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_o ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodO", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_o_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_o_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_o, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(o)", 889s # out_arg_o); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_o_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_o_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_o, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodO", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(o)", 889s # out_arg_o); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_o: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_o: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_o ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *arg_o) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(o)", 889s # arg_o)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpyk0tzgis.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpyk0tzgis.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodG", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-g", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_g ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-g", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_g, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_g: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_g ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodG", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_g_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_g_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_g, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(g)", 889s # out_arg_g); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_g_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_g_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_g, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodG", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(g)", 889s # out_arg_g); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_g: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_g: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_g ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *arg_g) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(g)", 889s # arg_g)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpfwbm3x9_.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpfwbm3x9_.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodH", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-h", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_h ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-h", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_h, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_h: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_h ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodH", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_h_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_h_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant **out_arg_h, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(@h)", 889s # out_arg_h); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_h_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_h_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant **out_arg_h, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodH", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(@h)", 889s # out_arg_h); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_h: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_h: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_h ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # GVariant *arg_h) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(@h)", 889s # arg_h)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpbkfmvnhq.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpbkfmvnhq.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAy", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-ay", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-ay", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_ay, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ay: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_ay ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAy", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ay_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ay_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_ay, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^ay)", 889s # out_arg_ay); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ay_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ay_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar **out_arg_ay, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAy", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^ay)", 889s # out_arg_ay); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_ay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_ay: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_ay ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *arg_ay) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(^ay)", 889s # arg_ay)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmp8oss_ank.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmp8oss_ank.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAs", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-as", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_as ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-as", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_as, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_as: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_as ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAs", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_as_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_as_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar ***out_arg_as, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^as)", 889s # out_arg_as); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_as_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_as_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar ***out_arg_as, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAs", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^as)", 889s # out_arg_as); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_as: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_as: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_as ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *const *arg_as) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(^as)", 889s # arg_as)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmprb1nkhh7.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmprb1nkhh7.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAo", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-ao", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-ao", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_ao, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ao: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_ao ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAo", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ao_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ao_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar ***out_arg_ao, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^ao)", 889s # out_arg_ao); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_ao_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_ao_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar ***out_arg_ao, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAo", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^ao)", 889s # out_arg_ao); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_ao: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_ao: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_ao ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *const *arg_ao) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(^ao)", 889s # arg_ao)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpw9fkd_82.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpw9fkd_82.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAay", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-aay", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-aay", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_aay, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_aay: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_aay ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAay", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_aay_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_aay_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar ***out_arg_aay, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^aay)", 889s # out_arg_aay); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_aay_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_aay_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # gchar ***out_arg_aay, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAay", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(^aay)", 889s # out_arg_aay); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_aay: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_aay: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_aay ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # const gchar *const *arg_aay) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(^aay)", 889s # arg_aay)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s # 889s # /tmp/tmpwlrwhltf/tmpqbzno6su.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwlrwhltf/tmpqbzno6su.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "arg_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgMethodAsv", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-single-arg-method-asv", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-single-arg-method-asv", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_useful_interface_method_marshal_single_arg_method_asv, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_asv: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_useful_interface_call_single_arg_method_asv ( 889s # OrgProjectUsefulInterface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAsv", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_asv_finish: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_asv_finish ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant **out_arg_asv, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(@a{sv})", 889s # out_arg_asv); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_call_single_arg_method_asv_sync: 889s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 889s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_useful_interface_call_single_arg_method_asv_sync ( 889s # OrgProjectUsefulInterface *proxy, 889s # GVariant **out_arg_asv, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SingleArgMethodAsv", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(@a{sv})", 889s # out_arg_asv); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_complete_single_arg_method_asv: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @arg_asv: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_useful_interface_complete_single_arg_method_asv ( 889s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # GVariant *arg_asv) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(@a{sv})", 889s # arg_asv)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmpal0343dd 889s # /tmp/tmpal0343dd/tmp0u7a2p5t.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpal0343dd/tmp0u7a2p5t.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 20); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_boolean (param_values + 2), 889s # g_marshal_value_peek_uchar (param_values + 3), 889s # g_marshal_value_peek_int (param_values + 4), 889s # g_marshal_value_peek_uint (param_values + 5), 889s # g_marshal_value_peek_int (param_values + 6), 889s # g_marshal_value_peek_uint (param_values + 7), 889s # g_marshal_value_peek_int64 (param_values + 8), 889s # g_marshal_value_peek_uint64 (param_values + 9), 889s # g_marshal_value_peek_double (param_values + 10), 889s # g_marshal_value_peek_string (param_values + 11), 889s # g_marshal_value_peek_string (param_values + 12), 889s # g_marshal_value_peek_string (param_values + 13), 889s # g_marshal_value_peek_variant (param_values + 14), 889s # g_marshal_value_peek_string (param_values + 15), 889s # g_marshal_value_peek_boxed (param_values + 16), 889s # g_marshal_value_peek_boxed (param_values + 17), 889s # g_marshal_value_peek_boxed (param_values + 18), 889s # g_marshal_value_peek_variant (param_values + 19), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.CallableIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectCallableIface 889s # * @title: OrgProjectCallableIface 889s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.CallableIface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 889s # { 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 889s # { 889s # { 889s # -1, 889s # (gchar *) "MethodWithManyArgs", 889s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-method-with-many-args", 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 889s # { 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SameMethodWithManyArgs", 889s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-same-method-with-many-args", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 889s # { 889s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 889s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.CallableIface", 889s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-callable-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_callable_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_callable_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_callable_iface_method_marshal_method_with_many_args ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _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, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _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, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectCallableIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 889s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.CallableIface. 889s # */ 889s # 889s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectCallableIface::handle-method-with-many-args: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_an_b: Argument passed by remote caller. 889s # * @arg_an_y: Argument passed by remote caller. 889s # * @arg_an_n: Argument passed by remote caller. 889s # * @arg_an_q: Argument passed by remote caller. 889s # * @arg_an_i: Argument passed by remote caller. 889s # * @arg_an_u: Argument passed by remote caller. 889s # * @arg_an_x: Argument passed by remote caller. 889s # * @arg_an_t: Argument passed by remote caller. 889s # * @arg_an_d: Argument passed by remote caller. 889s # * @arg_an_s: Argument passed by remote caller. 889s # * @arg_an_o: Argument passed by remote caller. 889s # * @arg_an_g: Argument passed by remote caller. 889s # * @arg_an_h: Argument passed by remote caller. 889s # * @arg_an_ay: Argument passed by remote caller. 889s # * @arg_an_as: Argument passed by remote caller. 889s # * @arg_an_ao: Argument passed by remote caller. 889s # * @arg_an_aay: Argument passed by remote caller. 889s # * @arg_an_asv: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-method-with-many-args", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_callable_iface_method_marshal_method_with_many_args, 889s # G_TYPE_BOOLEAN, 889s # 19, 889s # 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); 889s # 889s # /** 889s # * OrgProjectCallableIface::handle-same-method-with-many-args: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_an_b: Argument passed by remote caller. 889s # * @arg_an_y: Argument passed by remote caller. 889s # * @arg_an_n: Argument passed by remote caller. 889s # * @arg_an_q: Argument passed by remote caller. 889s # * @arg_an_i: Argument passed by remote caller. 889s # * @arg_an_u: Argument passed by remote caller. 889s # * @arg_an_x: Argument passed by remote caller. 889s # * @arg_an_t: Argument passed by remote caller. 889s # * @arg_an_d: Argument passed by remote caller. 889s # * @arg_an_s: Argument passed by remote caller. 889s # * @arg_an_o: Argument passed by remote caller. 889s # * @arg_an_g: Argument passed by remote caller. 889s # * @arg_an_h: Argument passed by remote caller. 889s # * @arg_an_ay: Argument passed by remote caller. 889s # * @arg_an_as: Argument passed by remote caller. 889s # * @arg_an_ao: Argument passed by remote caller. 889s # * @arg_an_aay: Argument passed by remote caller. 889s # * @arg_an_asv: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-same-method-with-many-args", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_callable_iface_method_marshal_same_method_with_many_args, 889s # G_TYPE_BOOLEAN, 889s # 19, 889s # 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); 889s # 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_method_with_many_args: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @arg_an_b: Argument to pass with the method invocation. 889s # * @arg_an_y: Argument to pass with the method invocation. 889s # * @arg_an_n: Argument to pass with the method invocation. 889s # * @arg_an_q: Argument to pass with the method invocation. 889s # * @arg_an_i: Argument to pass with the method invocation. 889s # * @arg_an_u: Argument to pass with the method invocation. 889s # * @arg_an_x: Argument to pass with the method invocation. 889s # * @arg_an_t: Argument to pass with the method invocation. 889s # * @arg_an_d: Argument to pass with the method invocation. 889s # * @arg_an_s: Argument to pass with the method invocation. 889s # * @arg_an_o: Argument to pass with the method invocation. 889s # * @arg_an_g: Argument to pass with the method invocation. 889s # * @arg_an_h: Argument to pass with the method invocation. 889s # * @arg_an_ay: Argument to pass with the method invocation. 889s # * @arg_an_as: Argument to pass with the method invocation. 889s # * @arg_an_ao: Argument to pass with the method invocation. 889s # * @arg_an_aay: Argument to pass with the method invocation. 889s # * @arg_an_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_callable_iface_call_method_with_many_args ( 889s # OrgProjectCallableIface *proxy, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "MethodWithManyArgs", 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_method_with_many_args_finish: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_method_with_many_args_finish ( 889s # OrgProjectCallableIface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_method_with_many_args_sync: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @arg_an_b: Argument to pass with the method invocation. 889s # * @arg_an_y: Argument to pass with the method invocation. 889s # * @arg_an_n: Argument to pass with the method invocation. 889s # * @arg_an_q: Argument to pass with the method invocation. 889s # * @arg_an_i: Argument to pass with the method invocation. 889s # * @arg_an_u: Argument to pass with the method invocation. 889s # * @arg_an_x: Argument to pass with the method invocation. 889s # * @arg_an_t: Argument to pass with the method invocation. 889s # * @arg_an_d: Argument to pass with the method invocation. 889s # * @arg_an_s: Argument to pass with the method invocation. 889s # * @arg_an_o: Argument to pass with the method invocation. 889s # * @arg_an_g: Argument to pass with the method invocation. 889s # * @arg_an_h: Argument to pass with the method invocation. 889s # * @arg_an_ay: Argument to pass with the method invocation. 889s # * @arg_an_as: Argument to pass with the method invocation. 889s # * @arg_an_ao: Argument to pass with the method invocation. 889s # * @arg_an_aay: Argument to pass with the method invocation. 889s # * @arg_an_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_method_with_many_args_sync ( 889s # OrgProjectCallableIface *proxy, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "MethodWithManyArgs", 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_same_method_with_many_args: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @arg_an_b: Argument to pass with the method invocation. 889s # * @arg_an_y: Argument to pass with the method invocation. 889s # * @arg_an_n: Argument to pass with the method invocation. 889s # * @arg_an_q: Argument to pass with the method invocation. 889s # * @arg_an_i: Argument to pass with the method invocation. 889s # * @arg_an_u: Argument to pass with the method invocation. 889s # * @arg_an_x: Argument to pass with the method invocation. 889s # * @arg_an_t: Argument to pass with the method invocation. 889s # * @arg_an_d: Argument to pass with the method invocation. 889s # * @arg_an_s: Argument to pass with the method invocation. 889s # * @arg_an_o: Argument to pass with the method invocation. 889s # * @arg_an_g: Argument to pass with the method invocation. 889s # * @arg_an_h: Argument to pass with the method invocation. 889s # * @arg_an_ay: Argument to pass with the method invocation. 889s # * @arg_an_as: Argument to pass with the method invocation. 889s # * @arg_an_ao: Argument to pass with the method invocation. 889s # * @arg_an_aay: Argument to pass with the method invocation. 889s # * @arg_an_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_callable_iface_call_same_method_with_many_args ( 889s # OrgProjectCallableIface *proxy, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SameMethodWithManyArgs", 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_same_method_with_many_args_finish: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_same_method_with_many_args_finish ( 889s # OrgProjectCallableIface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_same_method_with_many_args_sync: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @arg_an_b: Argument to pass with the method invocation. 889s # * @arg_an_y: Argument to pass with the method invocation. 889s # * @arg_an_n: Argument to pass with the method invocation. 889s # * @arg_an_q: Argument to pass with the method invocation. 889s # * @arg_an_i: Argument to pass with the method invocation. 889s # * @arg_an_u: Argument to pass with the method invocation. 889s # * @arg_an_x: Argument to pass with the method invocation. 889s # * @arg_an_t: Argument to pass with the method invocation. 889s # * @arg_an_d: Argument to pass with the method invocation. 889s # * @arg_an_s: Argument to pass with the method invocation. 889s # * @arg_an_o: Argument to pass with the method invocation. 889s # * @arg_an_g: Argument to pass with the method invocation. 889s # * @arg_an_h: Argument to pass with the method invocation. 889s # * @arg_an_ay: Argument to pass with the method invocation. 889s # * @arg_an_as: Argument to pass with the method invocation. 889s # * @arg_an_ao: Argument to pass with the method invocation. 889s # * @arg_an_aay: Argument to pass with the method invocation. 889s # * @arg_an_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_same_method_with_many_args_sync ( 889s # OrgProjectCallableIface *proxy, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SameMethodWithManyArgs", 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_complete_method_with_many_args: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_callable_iface_complete_method_with_many_args ( 889s # OrgProjectCallableIface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_complete_same_method_with_many_args: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_callable_iface_complete_same_method_with_many_args ( 889s # OrgProjectCallableIface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceProxy: 889s # * 889s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectCallableIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectCallableIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_callable_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_callable_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_callable_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceSkeleton: 889s # * 889s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectCallableIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectCallableIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_callable_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_callable_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_callable_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 889s # { 889s # _org_project_callable_iface_skeleton_handle_method_call, 889s # _org_project_callable_iface_skeleton_handle_get_property, 889s # _org_project_callable_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_callable_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_callable_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.OtherCallableIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectOtherCallableIface 889s # * @title: OrgProjectOtherCallableIface 889s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 889s # { 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 889s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 889s # { 889s # { 889s # -1, 889s # (gchar *) "MethodWithManyArgs", 889s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-method-with-many-args", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 889s # { 889s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.OtherCallableIface", 889s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-other-callable-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_other_callable_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_other_callable_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _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, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectOtherCallableIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 889s # */ 889s # 889s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 889s # * @object: A #OrgProjectOtherCallableIface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @arg_an_b: Argument passed by remote caller. 889s # * @arg_an_y: Argument passed by remote caller. 889s # * @arg_an_n: Argument passed by remote caller. 889s # * @arg_an_q: Argument passed by remote caller. 889s # * @arg_an_i: Argument passed by remote caller. 889s # * @arg_an_u: Argument passed by remote caller. 889s # * @arg_an_x: Argument passed by remote caller. 889s # * @arg_an_t: Argument passed by remote caller. 889s # * @arg_an_d: Argument passed by remote caller. 889s # * @arg_an_s: Argument passed by remote caller. 889s # * @arg_an_o: Argument passed by remote caller. 889s # * @arg_an_g: Argument passed by remote caller. 889s # * @arg_an_h: Argument passed by remote caller. 889s # * @arg_an_ay: Argument passed by remote caller. 889s # * @arg_an_as: Argument passed by remote caller. 889s # * @arg_an_ao: Argument passed by remote caller. 889s # * @arg_an_aay: Argument passed by remote caller. 889s # * @arg_an_asv: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-method-with-many-args", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_other_callable_iface_method_marshal_method_with_many_args, 889s # G_TYPE_BOOLEAN, 889s # 19, 889s # 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); 889s # 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_call_method_with_many_args: 889s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 889s # * @arg_an_b: Argument to pass with the method invocation. 889s # * @arg_an_y: Argument to pass with the method invocation. 889s # * @arg_an_n: Argument to pass with the method invocation. 889s # * @arg_an_q: Argument to pass with the method invocation. 889s # * @arg_an_i: Argument to pass with the method invocation. 889s # * @arg_an_u: Argument to pass with the method invocation. 889s # * @arg_an_x: Argument to pass with the method invocation. 889s # * @arg_an_t: Argument to pass with the method invocation. 889s # * @arg_an_d: Argument to pass with the method invocation. 889s # * @arg_an_s: Argument to pass with the method invocation. 889s # * @arg_an_o: Argument to pass with the method invocation. 889s # * @arg_an_g: Argument to pass with the method invocation. 889s # * @arg_an_h: Argument to pass with the method invocation. 889s # * @arg_an_ay: Argument to pass with the method invocation. 889s # * @arg_an_as: Argument to pass with the method invocation. 889s # * @arg_an_ao: Argument to pass with the method invocation. 889s # * @arg_an_aay: Argument to pass with the method invocation. 889s # * @arg_an_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_other_callable_iface_call_method_with_many_args ( 889s # OrgProjectOtherCallableIface *proxy, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "MethodWithManyArgs", 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_call_method_with_many_args_finish: 889s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_other_callable_iface_call_method_with_many_args_finish ( 889s # OrgProjectOtherCallableIface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_call_method_with_many_args_sync: 889s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 889s # * @arg_an_b: Argument to pass with the method invocation. 889s # * @arg_an_y: Argument to pass with the method invocation. 889s # * @arg_an_n: Argument to pass with the method invocation. 889s # * @arg_an_q: Argument to pass with the method invocation. 889s # * @arg_an_i: Argument to pass with the method invocation. 889s # * @arg_an_u: Argument to pass with the method invocation. 889s # * @arg_an_x: Argument to pass with the method invocation. 889s # * @arg_an_t: Argument to pass with the method invocation. 889s # * @arg_an_d: Argument to pass with the method invocation. 889s # * @arg_an_s: Argument to pass with the method invocation. 889s # * @arg_an_o: Argument to pass with the method invocation. 889s # * @arg_an_g: Argument to pass with the method invocation. 889s # * @arg_an_h: Argument to pass with the method invocation. 889s # * @arg_an_ay: Argument to pass with the method invocation. 889s # * @arg_an_as: Argument to pass with the method invocation. 889s # * @arg_an_ao: Argument to pass with the method invocation. 889s # * @arg_an_aay: Argument to pass with the method invocation. 889s # * @arg_an_asv: Argument to pass with the method invocation. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_other_callable_iface_call_method_with_many_args_sync ( 889s # OrgProjectOtherCallableIface *proxy, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "MethodWithManyArgs", 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_complete_method_with_many_args: 889s # * @object: A #OrgProjectOtherCallableIface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_other_callable_iface_complete_method_with_many_args ( 889s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceProxy: 889s # * 889s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectOtherCallableIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_other_callable_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_other_callable_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_other_callable_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceSkeleton: 889s # * 889s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_other_callable_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_other_callable_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_other_callable_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 889s # { 889s # _org_project_other_callable_iface_skeleton_handle_method_call, 889s # _org_project_other_callable_iface_skeleton_handle_get_property, 889s # _org_project_other_callable_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_other_callable_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmpvtni9p2v 889s # /tmp/tmpvtni9p2v/tmppq43olr7.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvtni9p2v/tmppq43olr7.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.CallableIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectCallableIface 889s # * @title: OrgProjectCallableIface 889s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.CallableIface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 889s # { 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 889s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 889s # { 889s # { 889s # -1, 889s # (gchar *) "MethodWithManyArgs", 889s # NULL, 889s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-method-with-many-args", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 889s # { 889s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.CallableIface", 889s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-callable-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_callable_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_callable_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_callable_iface_method_marshal_method_with_many_args ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectCallableIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.CallableIface. 889s # */ 889s # 889s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectCallableIface::handle-method-with-many-args: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-method-with-many-args", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_callable_iface_method_marshal_method_with_many_args, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_method_with_many_args: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_callable_iface_call_method_with_many_args ( 889s # OrgProjectCallableIface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "MethodWithManyArgs", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_method_with_many_args_finish: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_method_with_many_args_finish ( 889s # OrgProjectCallableIface *proxy, 889s # gboolean *out_an_b, 889s # guchar *out_an_y, 889s # gint16 *out_an_n, 889s # guint16 *out_an_q, 889s # gint *out_an_i, 889s # guint *out_an_u, 889s # gint64 *out_an_x, 889s # guint64 *out_an_t, 889s # gdouble *out_an_d, 889s # gchar **out_an_s, 889s # gchar **out_an_o, 889s # gchar **out_an_g, 889s # GVariant **out_an_h, 889s # gchar **out_an_ay, 889s # gchar ***out_an_as, 889s # gchar ***out_an_ao, 889s # gchar ***out_an_aay, 889s # GVariant **out_an_asv, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # out_an_b, 889s # out_an_y, 889s # out_an_n, 889s # out_an_q, 889s # out_an_i, 889s # out_an_u, 889s # out_an_x, 889s # out_an_t, 889s # out_an_d, 889s # out_an_s, 889s # out_an_o, 889s # out_an_g, 889s # out_an_h, 889s # out_an_ay, 889s # out_an_as, 889s # out_an_ao, 889s # out_an_aay, 889s # out_an_asv); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_method_with_many_args_sync: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 889s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_method_with_many_args_sync ( 889s # OrgProjectCallableIface *proxy, 889s # gboolean *out_an_b, 889s # guchar *out_an_y, 889s # gint16 *out_an_n, 889s # guint16 *out_an_q, 889s # gint *out_an_i, 889s # guint *out_an_u, 889s # gint64 *out_an_x, 889s # guint64 *out_an_t, 889s # gdouble *out_an_d, 889s # gchar **out_an_s, 889s # gchar **out_an_o, 889s # gchar **out_an_g, 889s # GVariant **out_an_h, 889s # gchar **out_an_ay, 889s # gchar ***out_an_as, 889s # gchar ***out_an_ao, 889s # gchar ***out_an_aay, 889s # GVariant **out_an_asv, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "MethodWithManyArgs", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # out_an_b, 889s # out_an_y, 889s # out_an_n, 889s # out_an_q, 889s # out_an_i, 889s # out_an_u, 889s # out_an_x, 889s # out_an_t, 889s # out_an_d, 889s # out_an_s, 889s # out_an_o, 889s # out_an_g, 889s # out_an_h, 889s # out_an_ay, 889s # out_an_as, 889s # out_an_ao, 889s # out_an_aay, 889s # out_an_asv); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_complete_method_with_many_args: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @an_b: Parameter to return. 889s # * @an_y: Parameter to return. 889s # * @an_n: Parameter to return. 889s # * @an_q: Parameter to return. 889s # * @an_i: Parameter to return. 889s # * @an_u: Parameter to return. 889s # * @an_x: Parameter to return. 889s # * @an_t: Parameter to return. 889s # * @an_d: Parameter to return. 889s # * @an_s: Parameter to return. 889s # * @an_o: Parameter to return. 889s # * @an_g: Parameter to return. 889s # * @an_h: Parameter to return. 889s # * @an_ay: Parameter to return. 889s # * @an_as: Parameter to return. 889s # * @an_ao: Parameter to return. 889s # * @an_aay: Parameter to return. 889s # * @an_asv: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_callable_iface_complete_method_with_many_args ( 889s # OrgProjectCallableIface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # gboolean an_b, 889s # guchar an_y, 889s # gint16 an_n, 889s # guint16 an_q, 889s # gint an_i, 889s # guint an_u, 889s # gint64 an_x, 889s # guint64 an_t, 889s # gdouble an_d, 889s # const gchar *an_s, 889s # const gchar *an_o, 889s # const gchar *an_g, 889s # GVariant *an_h, 889s # const gchar *an_ay, 889s # const gchar *const *an_as, 889s # const gchar *const *an_ao, 889s # const gchar *const *an_aay, 889s # GVariant *an_asv) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # an_b, 889s # an_y, 889s # an_n, 889s # an_q, 889s # an_i, 889s # an_u, 889s # an_x, 889s # an_t, 889s # an_d, 889s # an_s, 889s # an_o, 889s # an_g, 889s # an_h, 889s # an_ay, 889s # an_as, 889s # an_ao, 889s # an_aay, 889s # an_asv)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceProxy: 889s # * 889s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectCallableIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectCallableIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_callable_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_callable_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_callable_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceSkeleton: 889s # * 889s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectCallableIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectCallableIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_callable_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_callable_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_callable_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 889s # { 889s # _org_project_callable_iface_skeleton_handle_method_call, 889s # _org_project_callable_iface_skeleton_handle_get_property, 889s # _org_project_callable_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_callable_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_callable_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmp62775dwl 889s # /tmp/tmp62775dwl/tmpn98pxup8.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp62775dwl/tmpn98pxup8.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # GUnixFDList *arg_fd_list, 889s # const gchar *arg_greeting, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 4); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # g_marshal_value_peek_object (param_values + 2), 889s # g_marshal_value_peek_string (param_values + 3), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface test.FDPassing 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:TestFDPassing 889s # * @title: TestFDPassing 889s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 889s # * 889s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for test.FDPassing ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 889s # { 889s # { 889s # -1, 889s # (gchar *) "greeting", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 889s # { 889s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 889s # { 889s # { 889s # -1, 889s # (gchar *) "response", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 889s # { 889s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 889s # { 889s # { 889s # -1, 889s # (gchar *) "HelloFD", 889s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 889s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 889s # NULL 889s # }, 889s # "handle-hello-fd", 889s # TRUE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 889s # { 889s # &_test_fdpassing_method_info_hello_fd.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "test.FDPassing", 889s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "test-fdpassing", 889s # }; 889s # 889s # 889s # /** 889s # * test_fdpassing_interface_info: 889s # * 889s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # test_fdpassing_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * test_fdpassing_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # test_fdpassing_method_marshal_hello_fd ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * TestFDPassing: 889s # * 889s # * Abstract interface type for the D-Bus interface test.FDPassing. 889s # */ 889s # 889s # /** 889s # * TestFDPassingIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 889s # * 889s # * Virtual table for the D-Bus interface test.FDPassing. 889s # */ 889s # 889s # typedef TestFDPassingIface TestFDPassingInterface; 889s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 889s # 889s # static void 889s # test_fdpassing_default_init (TestFDPassingIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * TestFDPassing::handle-hello-fd: 889s # * @object: A #TestFDPassing. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 889s # * @arg_greeting: Argument passed by remote caller. 889s # * 889s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-hello-fd", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # test_fdpassing_method_marshal_hello_fd, 889s # G_TYPE_BOOLEAN, 889s # 3, 889s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 889s # 889s # } 889s # 889s # /** 889s # * test_fdpassing_call_hello_fd: 889s # * @proxy: A #TestFDPassingProxy. 889s # * @arg_greeting: Argument to pass with the method invocation. 889s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 889s # * 889s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # test_fdpassing_call_hello_fd ( 889s # TestFDPassing *proxy, 889s # const gchar *arg_greeting, 889s # GUnixFDList *fd_list, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 889s # "HelloFD", 889s # g_variant_new ("(s)", 889s # arg_greeting), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # fd_list, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * test_fdpassing_call_hello_fd_finish: 889s # * @proxy: A #TestFDPassingProxy. 889s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # test_fdpassing_call_hello_fd_finish ( 889s # TestFDPassing *proxy, 889s # gchar **out_response, 889s # GUnixFDList **out_fd_list, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(s)", 889s # out_response); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * test_fdpassing_call_hello_fd_sync: 889s # * @proxy: A #TestFDPassingProxy. 889s # * @arg_greeting: Argument to pass with the method invocation. 889s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 889s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 889s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # test_fdpassing_call_hello_fd_sync ( 889s # TestFDPassing *proxy, 889s # const gchar *arg_greeting, 889s # GUnixFDList *fd_list, 889s # gchar **out_response, 889s # GUnixFDList **out_fd_list, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 889s # "HelloFD", 889s # g_variant_new ("(s)", 889s # arg_greeting), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # fd_list, 889s # out_fd_list, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "(s)", 889s # out_response); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * test_fdpassing_complete_hello_fd: 889s # * @object: A #TestFDPassing. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 889s # * @response: Parameter to return. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # test_fdpassing_complete_hello_fd ( 889s # TestFDPassing *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation, 889s # GUnixFDList *fd_list, 889s # const gchar *response) 889s # { 889s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 889s # g_variant_new ("(s)", 889s # response), 889s # fd_list); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * TestFDPassingProxy: 889s # * 889s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * TestFDPassingProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #TestFDPassingProxy. 889s # */ 889s # 889s # struct _TestFDPassingProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (TestFDPassingProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # test_fdpassing_proxy_finalize (GObject *object) 889s # { 889s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = test_fdpassing_proxy_finalize; 889s # gobject_class->get_property = test_fdpassing_proxy_get_property; 889s # gobject_class->set_property = test_fdpassing_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 889s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * test_fdpassing_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # test_fdpassing_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * test_fdpassing_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with test_fdpassing_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # TestFDPassing * 889s # test_fdpassing_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return TEST_FDPASSING (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * test_fdpassing_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # TestFDPassing * 889s # test_fdpassing_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return TEST_FDPASSING (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * test_fdpassing_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # test_fdpassing_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * test_fdpassing_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # TestFDPassing * 889s # test_fdpassing_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return TEST_FDPASSING (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * test_fdpassing_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # TestFDPassing * 889s # test_fdpassing_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return TEST_FDPASSING (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * TestFDPassingSkeleton: 889s # * 889s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * TestFDPassingSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #TestFDPassingSkeleton. 889s # */ 889s # 889s # struct _TestFDPassingSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _test_fdpassing_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _test_fdpassing_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _test_fdpassing_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 889s # { 889s # _test_fdpassing_skeleton_handle_method_call, 889s # _test_fdpassing_skeleton_handle_get_property, 889s # _test_fdpassing_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return test_fdpassing_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (TestFDPassingSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # test_fdpassing_skeleton_finalize (GObject *object) 889s # { 889s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * test_fdpassing_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 889s # * 889s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 889s # */ 889s # TestFDPassing * 889s # test_fdpassing_skeleton_new (void) 889s # { 889s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 15 __main__.TestCodegen.test_generate_rst 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmp5qlmjjw2 889s # /tmp/tmp5qlmjjw2/tmpdsiedwf_.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5qlmjjw2/tmpdsiedwf_.xml', '--generate-rst', 'test'] 889s # Return code: 0 889s # Output: 889s # 889s # Error: 889s ok 16 __main__.TestCodegen.test_generate_rst_method 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmp4w49_o5x 889s # /tmp/tmp4w49_o5x/tmpq8wr8lnl.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4w49_o5x/tmpq8wr8lnl.xml', '--generate-rst', 'test'] 889s # Return code: 0 889s # Output: 889s # 889s # Error: 889s ok 17 __main__.TestCodegen.test_generate_rst_property 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmp4v10wbka 889s # /tmp/tmp4v10wbka/tmpwqr2p99_.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4v10wbka/tmpwqr2p99_.xml', '--generate-rst', 'test'] 889s # Return code: 0 889s # Output: 889s # 889s # Error: 889s ok 18 __main__.TestCodegen.test_generate_rst_signal 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmpo5aisino 889s # /tmp/tmpo5aisino/tmp3k2mjn8y.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo5aisino/tmp3k2mjn8y.xml', '--generate-rst', 'test'] 889s # Return code: 0 889s # Output: 889s # 889s # Error: 889s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmp5q1rtx0o 889s # /tmp/tmp5q1rtx0o/tmpw8dzts3f.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5q1rtx0o/tmpw8dzts3f.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 889s # GClosure *closure, 889s # GValue *return_value G_GNUC_UNUSED, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 889s # (void *data1, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv, 889s # void *data2); 889s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # 889s # g_return_if_fail (n_param_values == 19); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # callback (data1, 889s # g_marshal_value_peek_boolean (param_values + 1), 889s # g_marshal_value_peek_uchar (param_values + 2), 889s # g_marshal_value_peek_int (param_values + 3), 889s # g_marshal_value_peek_uint (param_values + 4), 889s # g_marshal_value_peek_int (param_values + 5), 889s # g_marshal_value_peek_uint (param_values + 6), 889s # g_marshal_value_peek_int64 (param_values + 7), 889s # g_marshal_value_peek_uint64 (param_values + 8), 889s # g_marshal_value_peek_double (param_values + 9), 889s # g_marshal_value_peek_string (param_values + 10), 889s # g_marshal_value_peek_string (param_values + 11), 889s # g_marshal_value_peek_string (param_values + 12), 889s # g_marshal_value_peek_variant (param_values + 13), 889s # g_marshal_value_peek_string (param_values + 14), 889s # g_marshal_value_peek_boxed (param_values + 15), 889s # g_marshal_value_peek_boxed (param_values + 16), 889s # g_marshal_value_peek_boxed (param_values + 17), 889s # g_marshal_value_peek_variant (param_values + 18), 889s # data2); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.SignalingIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectSignalingIface 889s # * @title: OrgProjectSignalingIface 889s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 889s # */ 889s # 889s # enum 889s # { 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 889s # }; 889s # 889s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 889s # 889s # /* ---- Introspection data for org.project.SignalingIface ---- */ 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SignalWithManyArgs", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 889s # NULL 889s # }, 889s # "signal-with-many-args" 889s # }; 889s # 889s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.SignalingIface", 889s # NULL, 889s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-signaling-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_signaling_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_signaling_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectSignalingIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.SignalingIface. 889s # */ 889s # 889s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 889s # { 889s # /* GObject signals for received D-Bus signals: */ 889s # /** 889s # * OrgProjectSignalingIface::signal-with-many-args: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_b: Argument. 889s # * @arg_an_y: Argument. 889s # * @arg_an_n: Argument. 889s # * @arg_an_q: Argument. 889s # * @arg_an_i: Argument. 889s # * @arg_an_u: Argument. 889s # * @arg_an_x: Argument. 889s # * @arg_an_t: Argument. 889s # * @arg_an_d: Argument. 889s # * @arg_an_s: Argument. 889s # * @arg_an_o: Argument. 889s # * @arg_an_g: Argument. 889s # * @arg_an_h: Argument. 889s # * @arg_an_ay: Argument. 889s # * @arg_an_as: Argument. 889s # * @arg_an_ao: Argument. 889s # * @arg_an_aay: Argument. 889s # * @arg_an_asv: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 889s # g_signal_new ("signal-with-many-args", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 889s # G_TYPE_NONE, 889s # 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); 889s # 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_signal_with_many_args: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_b: Argument to pass with the signal. 889s # * @arg_an_y: Argument to pass with the signal. 889s # * @arg_an_n: Argument to pass with the signal. 889s # * @arg_an_q: Argument to pass with the signal. 889s # * @arg_an_i: Argument to pass with the signal. 889s # * @arg_an_u: Argument to pass with the signal. 889s # * @arg_an_x: Argument to pass with the signal. 889s # * @arg_an_t: Argument to pass with the signal. 889s # * @arg_an_d: Argument to pass with the signal. 889s # * @arg_an_s: Argument to pass with the signal. 889s # * @arg_an_o: Argument to pass with the signal. 889s # * @arg_an_g: Argument to pass with the signal. 889s # * @arg_an_h: Argument to pass with the signal. 889s # * @arg_an_ay: Argument to pass with the signal. 889s # * @arg_an_as: Argument to pass with the signal. 889s # * @arg_an_ao: Argument to pass with the signal. 889s # * @arg_an_aay: Argument to pass with the signal. 889s # * @arg_an_asv: Argument to pass with the signal. 889s # * 889s # * Emits the "SignalWithManyArgs" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_signal_with_many_args ( 889s # OrgProjectSignalingIface *object, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv) 889s # { 889s # 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); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceProxy: 889s # * 889s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectSignalingIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectSignalingIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_signaling_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_signaling_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_signaling_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceSkeleton: 889s # * 889s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectSignalingIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_signaling_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_signaling_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_signaling_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 889s # { 889s # _org_project_signaling_iface_skeleton_handle_method_call, 889s # _org_project_signaling_iface_skeleton_handle_get_property, 889s # _org_project_signaling_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_signaling_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 889s # OrgProjectSignalingIface *object, 889s # gboolean arg_an_b, 889s # guchar arg_an_y, 889s # gint16 arg_an_n, 889s # guint16 arg_an_q, 889s # gint arg_an_i, 889s # guint arg_an_u, 889s # gint64 arg_an_x, 889s # guint64 arg_an_t, 889s # gdouble arg_an_d, 889s # const gchar *arg_an_s, 889s # const gchar *arg_an_o, 889s # const gchar *arg_an_g, 889s # GVariant *arg_an_h, 889s # const gchar *arg_an_ay, 889s # const gchar *const *arg_an_as, 889s # const gchar *const *arg_an_ao, 889s # const gchar *const *arg_an_aay, 889s # GVariant *arg_an_asv) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 889s # arg_an_b, 889s # arg_an_y, 889s # arg_an_n, 889s # arg_an_q, 889s # arg_an_i, 889s # arg_an_u, 889s # arg_an_x, 889s # arg_an_t, 889s # arg_an_d, 889s # arg_an_s, 889s # arg_an_o, 889s # arg_an_g, 889s # arg_an_h, 889s # arg_an_ay, 889s # arg_an_as, 889s # arg_an_ao, 889s # arg_an_aay, 889s # arg_an_asv)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_signaling_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 889s # { 889s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmp2b_m2xnd 889s # /tmp/tmp2b_m2xnd/tmp8rmcioy1.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2b_m2xnd/tmp8rmcioy1.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_VOID__INT64 ( 889s # GClosure *closure, 889s # GValue *return_value G_GNUC_UNUSED, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 889s # (void *data1, 889s # gint64 arg_an_x, 889s # void *data2); 889s # _GDbusCodegenMarshalVoid_Int64Func callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # callback (data1, 889s # g_marshal_value_peek_int64 (param_values + 1), 889s # data2); 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_VOID__UINT64 ( 889s # GClosure *closure, 889s # GValue *return_value G_GNUC_UNUSED, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 889s # (void *data1, 889s # guint64 arg_an_t, 889s # void *data2); 889s # _GDbusCodegenMarshalVoid_Uint64Func callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # callback (data1, 889s # g_marshal_value_peek_uint64 (param_values + 1), 889s # data2); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.SignalingIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectSignalingIface 889s # * @title: OrgProjectSignalingIface 889s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 889s # */ 889s # 889s # enum 889s # { 889s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 889s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 889s # }; 889s # 889s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 889s # 889s # /* ---- Introspection data for org.project.SignalingIface ---- */ 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 889s # { 889s # { 889s # -1, 889s # (gchar *) "NoArgSignal", 889s # NULL, 889s # NULL 889s # }, 889s # "no-arg-signal" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_b", 889s # (gchar *) "b", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalB", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-b" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_y", 889s # (gchar *) "y", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalY", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-y" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_n", 889s # (gchar *) "n", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalN", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-n" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_q", 889s # (gchar *) "q", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalQ", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-q" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_i", 889s # (gchar *) "i", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalI", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-i" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_u", 889s # (gchar *) "u", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalU", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-u" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_x", 889s # (gchar *) "x", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalX", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-x" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_t", 889s # (gchar *) "t", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalT", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-t" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_d", 889s # (gchar *) "d", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalD", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-d" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_s", 889s # (gchar *) "s", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalS", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-s" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_o", 889s # (gchar *) "o", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalO", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-o" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_g", 889s # (gchar *) "g", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalG", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-g" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_h", 889s # (gchar *) "h", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalH", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-h" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ay", 889s # (gchar *) "ay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalAY", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-ay" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_as", 889s # (gchar *) "as", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalAS", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-as" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_ao", 889s # (gchar *) "ao", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalAO", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-ao" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_aay", 889s # (gchar *) "aay", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalAAY", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-aay" 889s # }; 889s # 889s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "an_asv", 889s # (gchar *) "a{sv}", 889s # NULL 889s # }, 889s # FALSE 889s # }; 889s # 889s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SingleArgSignalASV", 889s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 889s # NULL 889s # }, 889s # "single-arg-signal-asv" 889s # }; 889s # 889s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 889s # { 889s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 889s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.SignalingIface", 889s # NULL, 889s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-signaling-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_signaling_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_signaling_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__VOID (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__BOOLEAN (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__UCHAR (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__INT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__UINT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__INT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__UINT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__DOUBLE (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__VARIANT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__STRING (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__BOXED (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__BOXED (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__BOXED (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # inline static void 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__VARIANT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectSignalingIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 889s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 889s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 889s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 889s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 889s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 889s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 889s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 889s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 889s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 889s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 889s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 889s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 889s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 889s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 889s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 889s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 889s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 889s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.SignalingIface. 889s # */ 889s # 889s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 889s # { 889s # /* GObject signals for received D-Bus signals: */ 889s # /** 889s # * OrgProjectSignalingIface::no-arg-signal: 889s # * @object: A #OrgProjectSignalingIface. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 889s # g_signal_new ("no-arg-signal", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_no_arg_signal, 889s # G_TYPE_NONE, 889s # 0); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-b: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_b: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 889s # g_signal_new ("single-arg-signal-b", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_BOOLEAN); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-y: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_y: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 889s # g_signal_new ("single-arg-signal-y", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_UCHAR); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-n: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_n: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 889s # g_signal_new ("single-arg-signal-n", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_INT); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-q: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_q: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 889s # g_signal_new ("single-arg-signal-q", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_UINT); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-i: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_i: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 889s # g_signal_new ("single-arg-signal-i", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_INT); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-u: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_u: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 889s # g_signal_new ("single-arg-signal-u", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_UINT); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-x: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_x: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 889s # g_signal_new ("single-arg-signal-x", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_INT64); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-t: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_t: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 889s # g_signal_new ("single-arg-signal-t", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_UINT64); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-d: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_d: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 889s # g_signal_new ("single-arg-signal-d", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_DOUBLE); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-s: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_s: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 889s # g_signal_new ("single-arg-signal-s", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRING); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-o: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_o: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 889s # g_signal_new ("single-arg-signal-o", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRING); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-g: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_g: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 889s # g_signal_new ("single-arg-signal-g", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRING); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-h: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_h: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 889s # g_signal_new ("single-arg-signal-h", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_VARIANT); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-ay: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_ay: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 889s # g_signal_new ("single-arg-signal-ay", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRING); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-as: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_as: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 889s # g_signal_new ("single-arg-signal-as", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRV); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-ao: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_ao: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 889s # g_signal_new ("single-arg-signal-ao", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRV); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-aay: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_aay: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 889s # g_signal_new ("single-arg-signal-aay", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_STRV); 889s # 889s # /** 889s # * OrgProjectSignalingIface::single-arg-signal-asv: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_asv: Argument. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 889s # g_signal_new ("single-arg-signal-asv", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 889s # NULL, 889s # NULL, 889s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 889s # G_TYPE_NONE, 889s # 1, G_TYPE_VARIANT); 889s # 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_no_arg_signal: 889s # * @object: A #OrgProjectSignalingIface. 889s # * 889s # * Emits the "NoArgSignal" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_no_arg_signal ( 889s # OrgProjectSignalingIface *object) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_b: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_b: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalB" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_b ( 889s # OrgProjectSignalingIface *object, 889s # gboolean arg_an_b) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_y: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_y: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalY" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_y ( 889s # OrgProjectSignalingIface *object, 889s # guchar arg_an_y) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_n: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_n: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalN" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_n ( 889s # OrgProjectSignalingIface *object, 889s # gint16 arg_an_n) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_q: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_q: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalQ" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_q ( 889s # OrgProjectSignalingIface *object, 889s # guint16 arg_an_q) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_i: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_i: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalI" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_i ( 889s # OrgProjectSignalingIface *object, 889s # gint arg_an_i) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_u: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_u: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalU" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_u ( 889s # OrgProjectSignalingIface *object, 889s # guint arg_an_u) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_x: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_x: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalX" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_x ( 889s # OrgProjectSignalingIface *object, 889s # gint64 arg_an_x) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_t: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_t: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalT" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_t ( 889s # OrgProjectSignalingIface *object, 889s # guint64 arg_an_t) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_d: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_d: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalD" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_d ( 889s # OrgProjectSignalingIface *object, 889s # gdouble arg_an_d) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_s: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_s: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalS" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_s ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_s) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_o: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_o: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalO" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_o ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_o) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_g: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_g: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalG" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_g ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_g) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_h: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_h: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalH" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_h ( 889s # OrgProjectSignalingIface *object, 889s # GVariant *arg_an_h) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_ay: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_ay: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalAY" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_ay ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_ay) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_as: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_as: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalAS" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_as ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *const *arg_an_as) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_ao: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_ao: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalAO" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_ao ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *const *arg_an_ao) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_aay: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_aay: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalAAY" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_aay ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *const *arg_an_aay) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_emit_single_arg_signal_asv: 889s # * @object: A #OrgProjectSignalingIface. 889s # * @arg_an_asv: Argument to pass with the signal. 889s # * 889s # * Emits the "SingleArgSignalASV" D-Bus signal. 889s # */ 889s # void 889s # org_project_signaling_iface_emit_single_arg_signal_asv ( 889s # OrgProjectSignalingIface *object, 889s # GVariant *arg_an_asv) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceProxy: 889s # * 889s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectSignalingIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectSignalingIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_signaling_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_signaling_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_signaling_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_SIGNALING_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceSkeleton: 889s # * 889s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectSignalingIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectSignalingIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_signaling_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_signaling_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_signaling_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 889s # { 889s # _org_project_signaling_iface_skeleton_handle_method_call, 889s # _org_project_signaling_iface_skeleton_handle_get_property, 889s # _org_project_signaling_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_signaling_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_no_arg_signal ( 889s # OrgProjectSignalingIface *object) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 889s # OrgProjectSignalingIface *object, 889s # gboolean arg_an_b) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 889s # arg_an_b)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 889s # OrgProjectSignalingIface *object, 889s # guchar arg_an_y) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 889s # arg_an_y)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 889s # OrgProjectSignalingIface *object, 889s # gint16 arg_an_n) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 889s # arg_an_n)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 889s # OrgProjectSignalingIface *object, 889s # guint16 arg_an_q) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 889s # arg_an_q)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 889s # OrgProjectSignalingIface *object, 889s # gint arg_an_i) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 889s # arg_an_i)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 889s # OrgProjectSignalingIface *object, 889s # guint arg_an_u) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 889s # arg_an_u)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 889s # OrgProjectSignalingIface *object, 889s # gint64 arg_an_x) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 889s # arg_an_x)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 889s # OrgProjectSignalingIface *object, 889s # guint64 arg_an_t) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 889s # arg_an_t)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 889s # OrgProjectSignalingIface *object, 889s # gdouble arg_an_d) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 889s # arg_an_d)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_s) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 889s # arg_an_s)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_o) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 889s # arg_an_o)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_g) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 889s # arg_an_g)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 889s # OrgProjectSignalingIface *object, 889s # GVariant *arg_an_h) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 889s # arg_an_h)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *arg_an_ay) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 889s # arg_an_ay)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *const *arg_an_as) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 889s # arg_an_as)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *const *arg_an_ao) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 889s # arg_an_ao)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 889s # OrgProjectSignalingIface *object, 889s # const gchar *const *arg_an_aay) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 889s # arg_an_aay)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void 889s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 889s # OrgProjectSignalingIface *object, 889s # GVariant *arg_an_asv) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 889s # arg_an_asv)); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_signaling_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 889s # { 889s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 889s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 889s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 889s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 889s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 889s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 889s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 889s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 889s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 889s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 889s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 889s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 889s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 889s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 889s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 889s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 889s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 889s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 889s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 889s # } 889s # 889s # /** 889s # * org_project_signaling_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectSignalingIface * 889s # org_project_signaling_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 889s # } 889s # Error: 889s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 889s # gdbus-codegen: /usr/bin/gdbus-codegen 889s # tmpdir: /tmp/tmpj4yxal74 889s # /tmp/tmpj4yxal74/tmp8186tpex.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj4yxal74/tmp8186tpex.xml', '--output', '-', '--body'] 889s # Return code: 0 889s # Output: 889s # /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.UsefulInterface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectUsefulInterface 889s # * @title: OrgProjectUsefulInterface 889s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 889s # */ 889s # 889s # enum 889s # { 889s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 889s # }; 889s # 889s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 889s # 889s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SimpleSignal", 889s # NULL, 889s # NULL 889s # }, 889s # "simple-signal" 889s # }; 889s # 889s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 889s # { 889s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.UsefulInterface", 889s # NULL, 889s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-useful-interface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_useful_interface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_useful_interface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_useful_interface_signal_marshal_simple_signal ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__VOID (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectUsefulInterface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 889s # */ 889s # 889s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # /* GObject signals for received D-Bus signals: */ 889s # /** 889s # * OrgProjectUsefulInterface::simple-signal: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 889s # g_signal_new ("simple-signal", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 889s # NULL, 889s # NULL, 889s # org_project_useful_interface_signal_marshal_simple_signal, 889s # G_TYPE_NONE, 889s # 0); 889s # 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_emit_simple_signal: 889s # * @object: A #OrgProjectUsefulInterface. 889s # * 889s # * Emits the "SimpleSignal" D-Bus signal. 889s # */ 889s # void 889s # org_project_useful_interface_emit_simple_signal ( 889s # OrgProjectUsefulInterface *object) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxy: 889s # * 889s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 889s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 889s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_useful_interface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_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); 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeleton: 889s # * 889s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectUsefulInterfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_useful_interface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_useful_interface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_useful_interface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 889s # { 889s # _org_project_useful_interface_skeleton_handle_method_call, 889s # _org_project_useful_interface_skeleton_handle_get_property, 889s # _org_project_useful_interface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_useful_interface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # _org_project_useful_interface_on_signal_simple_signal ( 889s # OrgProjectUsefulInterface *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_useful_interface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 889s # { 889s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 889s # } 889s # 889s # /** 889s # * org_project_useful_interface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectUsefulInterface * 889s # org_project_useful_interface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.OtherIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectOtherIface 889s # * @title: OrgProjectOtherIface 889s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 889s # */ 889s # 889s # enum 889s # { 889s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 889s # }; 889s # 889s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 889s # 889s # /* ---- Introspection data for org.project.OtherIface ---- */ 889s # 889s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SimpleSignal", 889s # NULL, 889s # NULL 889s # }, 889s # "simple-signal" 889s # }; 889s # 889s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 889s # { 889s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.OtherIface", 889s # NULL, 889s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-other-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_other_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_other_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_other_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_other_iface_signal_marshal_simple_signal ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # g_cclosure_marshal_VOID__VOID (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectOtherIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.OtherIface. 889s # */ 889s # 889s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 889s # { 889s # /* GObject signals for received D-Bus signals: */ 889s # /** 889s # * OrgProjectOtherIface::simple-signal: 889s # * @object: A #OrgProjectOtherIface. 889s # * 889s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 889s # * 889s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 889s # */ 889s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 889s # g_signal_new ("simple-signal", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 889s # NULL, 889s # NULL, 889s # org_project_other_iface_signal_marshal_simple_signal, 889s # G_TYPE_NONE, 889s # 0); 889s # 889s # } 889s # 889s # /** 889s # * org_project_other_iface_emit_simple_signal: 889s # * @object: A #OrgProjectOtherIface. 889s # * 889s # * Emits the "SimpleSignal" D-Bus signal. 889s # */ 889s # void 889s # org_project_other_iface_emit_simple_signal ( 889s # OrgProjectOtherIface *object) 889s # { 889s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectOtherIfaceProxy: 889s # * 889s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectOtherIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectOtherIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_other_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_other_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_other_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_other_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_other_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherIface * 889s # org_project_other_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherIface * 889s # org_project_other_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_other_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_other_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_other_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherIface * 889s # org_project_other_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherIface * 889s # org_project_other_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectOtherIfaceSkeleton: 889s # * 889s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectOtherIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectOtherIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_other_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_other_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_other_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 889s # { 889s # _org_project_other_iface_skeleton_handle_method_call, 889s # _org_project_other_iface_skeleton_handle_get_property, 889s # _org_project_other_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_other_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 889s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #else 889s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 889s # #endif 889s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # _org_project_other_iface_on_signal_simple_signal ( 889s # OrgProjectOtherIface *object) 889s # { 889s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 889s # 889s # GList *connections, *l; 889s # GVariant *signal_variant; 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # 889s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 889s # for (l = connections; l != NULL; l = l->next) 889s # { 889s # GDBusConnection *connection = l->data; 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 889s # signal_variant, NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # 889s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_other_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 889s # { 889s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 889s # } 889s # 889s # /** 889s # * org_project_other_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectOtherIface * 889s # org_project_other_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 889s # } 889s # Error: 890s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpeeywq_x5 890s # /tmp/tmpeeywq_x5/tmp3ul4re9z.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeeywq_x5/tmp3ul4re9z.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.OtherSignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectOtherSignalingIface 890s # * @title: OrgProjectOtherSignalingIface 890s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.OtherSignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-other-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_other_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_other_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectOtherSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectOtherSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 890s # */ 890s # 890s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectOtherSignalingIface::simple-signal: 890s # * @object: A #OrgProjectOtherSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_other_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectOtherSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_other_signaling_iface_emit_simple_signal ( 890s # OrgProjectOtherSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectOtherSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectOtherSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_other_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectOtherSignalingIface * 890s # org_project_other_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectOtherSignalingIface * 890s # org_project_other_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_other_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_other_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectOtherSignalingIface * 890s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectOtherSignalingIface * 890s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectOtherSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectOtherSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_other_signaling_iface_skeleton_handle_method_call, 890s # _org_project_other_signaling_iface_skeleton_handle_get_property, 890s # _org_project_other_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_other_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_other_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectOtherSignalingIface *object) 890s # { 890s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 890s # } 890s # 890s # /** 890s # * org_project_other_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectOtherSignalingIface * 890s # org_project_other_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpf_8ze9bs 890s # /tmp/tmpf_8ze9bs/tmp4zxtolnz.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmp4zxtolnz.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_b", 890s # (gchar *) "b", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalB", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-b" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__BOOLEAN (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-b: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_b: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 890s # g_signal_new ("single-arg-signal-b", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_BOOLEAN); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_b: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_b: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalB" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_b ( 890s # OrgProjectSignalingIface *object, 890s # gboolean arg_arg_b) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 890s # OrgProjectSignalingIface *object, 890s # gboolean arg_arg_b) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 890s # arg_arg_b)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmppt5akkcp.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmppt5akkcp.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_y", 890s # (gchar *) "y", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalY", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-y" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__UCHAR (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-y: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_y: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 890s # g_signal_new ("single-arg-signal-y", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_UCHAR); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_y: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_y: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalY" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_y ( 890s # OrgProjectSignalingIface *object, 890s # guchar arg_arg_y) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 890s # OrgProjectSignalingIface *object, 890s # guchar arg_arg_y) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 890s # arg_arg_y)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmp4p7i726e.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmp4p7i726e.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_n", 890s # (gchar *) "n", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalN", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-n" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__INT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-n: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_n: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 890s # g_signal_new ("single-arg-signal-n", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_INT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_n: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_n: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalN" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_n ( 890s # OrgProjectSignalingIface *object, 890s # gint16 arg_arg_n) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 890s # OrgProjectSignalingIface *object, 890s # gint16 arg_arg_n) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 890s # arg_arg_n)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmp_w45ra5e.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmp_w45ra5e.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_q", 890s # (gchar *) "q", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalQ", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-q" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__UINT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-q: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_q: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 890s # g_signal_new ("single-arg-signal-q", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_UINT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_q: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_q: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalQ" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_q ( 890s # OrgProjectSignalingIface *object, 890s # guint16 arg_arg_q) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 890s # OrgProjectSignalingIface *object, 890s # guint16 arg_arg_q) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 890s # arg_arg_q)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmp82a2923f.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmp82a2923f.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_i", 890s # (gchar *) "i", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalI", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-i" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__INT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-i: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_i: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 890s # g_signal_new ("single-arg-signal-i", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_INT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_i: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_i: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalI" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_i ( 890s # OrgProjectSignalingIface *object, 890s # gint arg_arg_i) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 890s # OrgProjectSignalingIface *object, 890s # gint arg_arg_i) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 890s # arg_arg_i)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpc78qvbwv.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpc78qvbwv.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_u", 890s # (gchar *) "u", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalU", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-u" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__UINT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-u: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_u: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 890s # g_signal_new ("single-arg-signal-u", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_UINT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_u: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_u: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalU" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_u ( 890s # OrgProjectSignalingIface *object, 890s # guint arg_arg_u) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 890s # OrgProjectSignalingIface *object, 890s # guint arg_arg_u) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 890s # arg_arg_u)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpjjqes4ze.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpjjqes4ze.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_VOID__INT64 ( 890s # GClosure *closure, 890s # GValue *return_value G_GNUC_UNUSED, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 890s # (void *data1, 890s # gint64 arg_arg_x, 890s # void *data2); 890s # _GDbusCodegenMarshalVoid_Int64Func callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # 890s # g_return_if_fail (n_param_values == 2); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # callback (data1, 890s # g_marshal_value_peek_int64 (param_values + 1), 890s # data2); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_x", 890s # (gchar *) "x", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalX", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-x" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-x: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_x: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 890s # g_signal_new ("single-arg-signal-x", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_INT64); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_x: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_x: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalX" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_x ( 890s # OrgProjectSignalingIface *object, 890s # gint64 arg_arg_x) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 890s # OrgProjectSignalingIface *object, 890s # gint64 arg_arg_x) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 890s # arg_arg_x)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpmsxkcazr.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpmsxkcazr.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_VOID__UINT64 ( 890s # GClosure *closure, 890s # GValue *return_value G_GNUC_UNUSED, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 890s # (void *data1, 890s # guint64 arg_arg_t, 890s # void *data2); 890s # _GDbusCodegenMarshalVoid_Uint64Func callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # 890s # g_return_if_fail (n_param_values == 2); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # callback (data1, 890s # g_marshal_value_peek_uint64 (param_values + 1), 890s # data2); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_t", 890s # (gchar *) "t", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalT", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-t" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-t: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_t: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 890s # g_signal_new ("single-arg-signal-t", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_UINT64); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_t: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_t: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalT" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_t ( 890s # OrgProjectSignalingIface *object, 890s # guint64 arg_arg_t) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 890s # OrgProjectSignalingIface *object, 890s # guint64 arg_arg_t) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 890s # arg_arg_t)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpdb7b3v0g.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpdb7b3v0g.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_d", 890s # (gchar *) "d", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalD", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-d" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__DOUBLE (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-d: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_d: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 890s # g_signal_new ("single-arg-signal-d", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_DOUBLE); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_d: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_d: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalD" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_d ( 890s # OrgProjectSignalingIface *object, 890s # gdouble arg_arg_d) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 890s # OrgProjectSignalingIface *object, 890s # gdouble arg_arg_d) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 890s # arg_arg_d)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpaqxp96_e.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpaqxp96_e.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_s", 890s # (gchar *) "s", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalS", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-s" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-s: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_s: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 890s # g_signal_new ("single-arg-signal-s", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_s: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_s: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalS" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_s ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_s) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_s) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 890s # arg_arg_s)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpranyf2na.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpranyf2na.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_o", 890s # (gchar *) "o", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalO", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-o" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-o: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_o: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 890s # g_signal_new ("single-arg-signal-o", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_o: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_o: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalO" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_o ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_o) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_o) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 890s # arg_arg_o)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmp2pjotsux.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmp2pjotsux.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_g", 890s # (gchar *) "g", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalG", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-g" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-g: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_g: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 890s # g_signal_new ("single-arg-signal-g", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_g: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_g: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalG" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_g ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_g) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_g) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 890s # arg_arg_g)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpum00wfko.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpum00wfko.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_h", 890s # (gchar *) "h", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalH", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-h" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VARIANT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-h: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_h: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 890s # g_signal_new ("single-arg-signal-h", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_VARIANT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_h: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_h: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalH" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_h ( 890s # OrgProjectSignalingIface *object, 890s # GVariant *arg_arg_h) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 890s # OrgProjectSignalingIface *object, 890s # GVariant *arg_arg_h) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 890s # arg_arg_h)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpyx3r0g5h.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpyx3r0g5h.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_ay", 890s # (gchar *) "ay", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalAy", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-ay" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-ay: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_ay: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 890s # g_signal_new ("single-arg-signal-ay", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_ay: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_ay: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalAy" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_ay ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_ay) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *arg_arg_ay) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 890s # arg_arg_ay)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpyl_i_492.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpyl_i_492.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_as", 890s # (gchar *) "as", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalAs", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-as" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__BOXED (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-as: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_as: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 890s # g_signal_new ("single-arg-signal-as", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRV); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_as: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_as: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalAs" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_as ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *const *arg_arg_as) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *const *arg_arg_as) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 890s # arg_arg_as)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmp6so9m9ak.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmp6so9m9ak.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_ao", 890s # (gchar *) "ao", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalAo", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-ao" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__BOXED (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-ao: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_ao: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 890s # g_signal_new ("single-arg-signal-ao", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRV); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_ao: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_ao: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalAo" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_ao ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *const *arg_arg_ao) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *const *arg_arg_ao) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 890s # arg_arg_ao)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpss_7eaol.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpss_7eaol.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_aay", 890s # (gchar *) "aay", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalAay", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-aay" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__BOXED (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-aay: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_aay: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 890s # g_signal_new ("single-arg-signal-aay", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_STRV); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_aay: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_aay: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalAay" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_aay ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *const *arg_arg_aay) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 890s # OrgProjectSignalingIface *object, 890s # const gchar *const *arg_arg_aay) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 890s # arg_arg_aay)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s # 890s # /tmp/tmpf_8ze9bs/tmpbt_9s3a_.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf_8ze9bs/tmpbt_9s3a_.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_asv", 890s # (gchar *) "a{sv}", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgSignalAsv", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 890s # NULL 890s # }, 890s # "single-arg-signal-asv" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VARIANT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::single-arg-signal-asv: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_asv: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 890s # g_signal_new ("single-arg-signal-asv", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 890s # G_TYPE_NONE, 890s # 1, G_TYPE_VARIANT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_single_arg_signal_asv: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_arg_asv: Argument to pass with the signal. 890s # * 890s # * Emits the "SingleArgSignalAsv" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_single_arg_signal_asv ( 890s # OrgProjectSignalingIface *object, 890s # GVariant *arg_arg_asv) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 890s # OrgProjectSignalingIface *object, 890s # GVariant *arg_arg_asv) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 890s # arg_arg_asv)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmppd5yvwbf 890s # /tmp/tmppd5yvwbf/tmpbr77znce.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppd5yvwbf/tmpbr77znce.xml', '--output', '-', '--body'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 890s # GClosure *closure, 890s # GValue *return_value G_GNUC_UNUSED, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 890s # (void *data1, 890s # gboolean arg_an_b, 890s # guchar arg_an_y, 890s # gint16 arg_an_n, 890s # guint16 arg_an_q, 890s # gint arg_an_i, 890s # guint arg_an_u, 890s # gint64 arg_an_x, 890s # guint64 arg_an_t, 890s # gdouble arg_an_d, 890s # const gchar *arg_an_s, 890s # const gchar *arg_an_o, 890s # const gchar *arg_an_g, 890s # GVariant *arg_an_h, 890s # const gchar *arg_an_ay, 890s # const gchar *const *arg_an_as, 890s # const gchar *const *arg_an_ao, 890s # const gchar *const *arg_an_aay, 890s # GVariant *arg_an_asv, 890s # void *data2); 890s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # 890s # g_return_if_fail (n_param_values == 19); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # callback (data1, 890s # g_marshal_value_peek_boolean (param_values + 1), 890s # g_marshal_value_peek_uchar (param_values + 2), 890s # g_marshal_value_peek_int (param_values + 3), 890s # g_marshal_value_peek_uint (param_values + 4), 890s # g_marshal_value_peek_int (param_values + 5), 890s # g_marshal_value_peek_uint (param_values + 6), 890s # g_marshal_value_peek_int64 (param_values + 7), 890s # g_marshal_value_peek_uint64 (param_values + 8), 890s # g_marshal_value_peek_double (param_values + 9), 890s # g_marshal_value_peek_string (param_values + 10), 890s # g_marshal_value_peek_string (param_values + 11), 890s # g_marshal_value_peek_string (param_values + 12), 890s # g_marshal_value_peek_variant (param_values + 13), 890s # g_marshal_value_peek_string (param_values + 14), 890s # g_marshal_value_peek_boxed (param_values + 15), 890s # g_marshal_value_peek_boxed (param_values + 16), 890s # g_marshal_value_peek_boxed (param_values + 17), 890s # g_marshal_value_peek_variant (param_values + 18), 890s # data2); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.SignalingIface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectSignalingIface 890s # * @title: OrgProjectSignalingIface 890s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 890s # */ 890s # 890s # enum 890s # { 890s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 890s # }; 890s # 890s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 890s # 890s # /* ---- Introspection data for org.project.SignalingIface ---- */ 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SimpleSignal", 890s # NULL, 890s # NULL 890s # }, 890s # "simple-signal" 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_b", 890s # (gchar *) "b", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_y", 890s # (gchar *) "y", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_n", 890s # (gchar *) "n", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_q", 890s # (gchar *) "q", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_i", 890s # (gchar *) "i", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_u", 890s # (gchar *) "u", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_x", 890s # (gchar *) "x", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_t", 890s # (gchar *) "t", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_d", 890s # (gchar *) "d", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_s", 890s # (gchar *) "s", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_o", 890s # (gchar *) "o", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_g", 890s # (gchar *) "g", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_h", 890s # (gchar *) "h", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_ay", 890s # (gchar *) "ay", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_as", 890s # (gchar *) "as", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_ao", 890s # (gchar *) "ao", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_aay", 890s # (gchar *) "aay", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 890s # { 890s # { 890s # -1, 890s # (gchar *) "an_asv", 890s # (gchar *) "a{sv}", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SignalWithManyArgs", 890s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 890s # NULL 890s # }, 890s # "signal-with-many-args" 890s # }; 890s # 890s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 890s # { 890s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 890s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.SignalingIface", 890s # NULL, 890s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-signaling-iface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_signaling_iface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_simple_signal ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # g_cclosure_marshal_VOID__VOID (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # inline static void 890s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectSignalingIface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 890s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.SignalingIface. 890s # */ 890s # 890s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # /* GObject signals for received D-Bus signals: */ 890s # /** 890s # * OrgProjectSignalingIface::simple-signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 890s # g_signal_new ("simple-signal", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_simple_signal, 890s # G_TYPE_NONE, 890s # 0); 890s # 890s # /** 890s # * OrgProjectSignalingIface::signal-with-many-args: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_an_b: Argument. 890s # * @arg_an_y: Argument. 890s # * @arg_an_n: Argument. 890s # * @arg_an_q: Argument. 890s # * @arg_an_i: Argument. 890s # * @arg_an_u: Argument. 890s # * @arg_an_x: Argument. 890s # * @arg_an_t: Argument. 890s # * @arg_an_d: Argument. 890s # * @arg_an_s: Argument. 890s # * @arg_an_o: Argument. 890s # * @arg_an_g: Argument. 890s # * @arg_an_h: Argument. 890s # * @arg_an_ay: Argument. 890s # * @arg_an_as: Argument. 890s # * @arg_an_ao: Argument. 890s # * @arg_an_aay: Argument. 890s # * @arg_an_asv: Argument. 890s # * 890s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 890s # * 890s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 890s # */ 890s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 890s # g_signal_new ("signal-with-many-args", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 890s # NULL, 890s # NULL, 890s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 890s # G_TYPE_NONE, 890s # 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); 890s # 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_simple_signal: 890s # * @object: A #OrgProjectSignalingIface. 890s # * 890s # * Emits the "SimpleSignal" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_emit_signal_with_many_args: 890s # * @object: A #OrgProjectSignalingIface. 890s # * @arg_an_b: Argument to pass with the signal. 890s # * @arg_an_y: Argument to pass with the signal. 890s # * @arg_an_n: Argument to pass with the signal. 890s # * @arg_an_q: Argument to pass with the signal. 890s # * @arg_an_i: Argument to pass with the signal. 890s # * @arg_an_u: Argument to pass with the signal. 890s # * @arg_an_x: Argument to pass with the signal. 890s # * @arg_an_t: Argument to pass with the signal. 890s # * @arg_an_d: Argument to pass with the signal. 890s # * @arg_an_s: Argument to pass with the signal. 890s # * @arg_an_o: Argument to pass with the signal. 890s # * @arg_an_g: Argument to pass with the signal. 890s # * @arg_an_h: Argument to pass with the signal. 890s # * @arg_an_ay: Argument to pass with the signal. 890s # * @arg_an_as: Argument to pass with the signal. 890s # * @arg_an_ao: Argument to pass with the signal. 890s # * @arg_an_aay: Argument to pass with the signal. 890s # * @arg_an_asv: Argument to pass with the signal. 890s # * 890s # * Emits the "SignalWithManyArgs" D-Bus signal. 890s # */ 890s # void 890s # org_project_signaling_iface_emit_signal_with_many_args ( 890s # OrgProjectSignalingIface *object, 890s # gboolean arg_an_b, 890s # guchar arg_an_y, 890s # gint16 arg_an_n, 890s # guint16 arg_an_q, 890s # gint arg_an_i, 890s # guint arg_an_u, 890s # gint64 arg_an_x, 890s # guint64 arg_an_t, 890s # gdouble arg_an_d, 890s # const gchar *arg_an_s, 890s # const gchar *arg_an_o, 890s # const gchar *arg_an_g, 890s # GVariant *arg_an_h, 890s # const gchar *arg_an_ay, 890s # const gchar *const *arg_an_as, 890s # const gchar *const *arg_an_ao, 890s # const gchar *const *arg_an_aay, 890s # GVariant *arg_an_asv) 890s # { 890s # 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); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxy: 890s # * 890s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 890s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 890s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_signaling_iface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # 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); 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_SIGNALING_IFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeleton: 890s # * 890s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectSignalingIfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectSignalingIfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_signaling_iface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_signaling_iface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_signaling_iface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 890s # { 890s # _org_project_signaling_iface_skeleton_handle_method_call, 890s # _org_project_signaling_iface_skeleton_handle_get_property, 890s # _org_project_signaling_iface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_signaling_iface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 890s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #else 890s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 890s # #endif 890s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_simple_signal ( 890s # OrgProjectSignalingIface *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void 890s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 890s # OrgProjectSignalingIface *object, 890s # gboolean arg_an_b, 890s # guchar arg_an_y, 890s # gint16 arg_an_n, 890s # guint16 arg_an_q, 890s # gint arg_an_i, 890s # guint arg_an_u, 890s # gint64 arg_an_x, 890s # guint64 arg_an_t, 890s # gdouble arg_an_d, 890s # const gchar *arg_an_s, 890s # const gchar *arg_an_o, 890s # const gchar *arg_an_g, 890s # GVariant *arg_an_h, 890s # const gchar *arg_an_ay, 890s # const gchar *const *arg_an_as, 890s # const gchar *const *arg_an_ao, 890s # const gchar *const *arg_an_aay, 890s # GVariant *arg_an_asv) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # 890s # GList *connections, *l; 890s # GVariant *signal_variant; 890s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 890s # 890s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 890s # arg_an_b, 890s # arg_an_y, 890s # arg_an_n, 890s # arg_an_q, 890s # arg_an_i, 890s # arg_an_u, 890s # arg_an_x, 890s # arg_an_t, 890s # arg_an_d, 890s # arg_an_s, 890s # arg_an_o, 890s # arg_an_g, 890s # arg_an_h, 890s # arg_an_ay, 890s # arg_an_as, 890s # arg_an_ao, 890s # arg_an_aay, 890s # arg_an_asv)); 890s # for (l = connections; l != NULL; l = l->next) 890s # { 890s # GDBusConnection *connection = l->data; 890s # g_dbus_connection_emit_signal (connection, 890s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 890s # signal_variant, NULL); 890s # } 890s # g_variant_unref (signal_variant); 890s # g_list_free_full (connections, g_object_unref); 890s # } 890s # 890s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_signaling_iface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 890s # { 890s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 890s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 890s # } 890s # 890s # /** 890s # * org_project_signaling_iface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectSignalingIface * 890s # org_project_signaling_iface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 890s # } 890s # Error: 890s ok 25 __main__.TestCodegen.test_generate_valid_docbook 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpr9vm04op 890s # /tmp/tmpr9vm04op/tmpz95ce44w.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr9vm04op/tmpz95ce44w.xml', '--generate-docbook', 'test'] 890s # Return code: 0 890s # Output: 890s # 890s # Error: 890s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmp9030cc1e 890s # /tmp/tmp9030cc1e/tmp59f_47pg.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9030cc1e/tmp59f_47pg.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 890s # Return code: 1 890s # Output: 890s # 890s # Error: 890s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 890s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpf9bocud1 890s # /tmp/tmpf9bocud1/tmp3nzb4he3.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9bocud1/tmp3nzb4he3.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifndef __STDOUT__ 890s # #define __STDOUT__ 890s # 890s # #include 890s # 890s # G_BEGIN_DECLS 890s # 890s # 890s # G_END_DECLS 890s # 890s # #endif /* __STDOUT__ */ 890s # Error: 890s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpsgnlsbb3 890s # /tmp/tmpsgnlsbb3/tmp27cewtf_.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsgnlsbb3/tmp27cewtf_.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 890s # Return code: 1 890s # Output: 890s # 890s # Error: 890s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 890s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpkg5pn7hn 890s # /tmp/tmpkg5pn7hn/tmpe0fvmgcw.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkg5pn7hn/tmpe0fvmgcw.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifndef __STDOUT__ 890s # #define __STDOUT__ 890s # 890s # #include 890s # 890s # G_BEGIN_DECLS 890s # 890s # 890s # G_END_DECLS 890s # 890s # #endif /* __STDOUT__ */ 890s # Error: 890s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpwb44ow7g 890s # /tmp/tmpwb44ow7g/tmpon0rubxq.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwb44ow7g/tmpon0rubxq.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifndef __STDOUT__ 890s # #define __STDOUT__ 890s # 890s # #include 890s # 890s # G_BEGIN_DECLS 890s # 890s # 890s # G_END_DECLS 890s # 890s # #endif /* __STDOUT__ */ 890s # Error: 890s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpqcao9ufd 890s # /tmp/tmpqcao9ufd/tmphh750yuv.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqcao9ufd/tmphh750yuv.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 890s # Return code: 1 890s # Output: 890s # 890s # Error: 890s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 890s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpcpbabvmg 890s # /tmp/tmpcpbabvmg/tmpkqvrd3w7.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcpbabvmg/tmpkqvrd3w7.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 890s # Return code: 0 890s # Output: 890s # /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifndef __STDOUT__ 890s # #define __STDOUT__ 890s # 890s # #include 890s # 890s # G_BEGIN_DECLS 890s # 890s # 890s # G_END_DECLS 890s # 890s # #endif /* __STDOUT__ */ 890s # Error: 890s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 890s # gdbus-codegen: /usr/bin/gdbus-codegen 890s # tmpdir: /tmp/tmpmy_y9itj 890s # /tmp/tmpmy_y9itj/tmplfpu8wdp.xml: 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmy_y9itj/tmplfpu8wdp.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 890s # Return code: 1 890s # Output: 890s # 890s # Error: 890s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 891s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 891s # gdbus-codegen: /usr/bin/gdbus-codegen 891s # tmpdir: /tmp/tmp6pnijtvy 891s # /tmp/tmp6pnijtvy/tmpq_w2pf2l.xml: 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6pnijtvy/tmpq_w2pf2l.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifndef __STDOUT__ 891s # #define __STDOUT__ 891s # 891s # #include 891s # 891s # G_BEGIN_DECLS 891s # 891s # 891s # G_END_DECLS 891s # 891s # #endif /* __STDOUT__ */ 891s # Error: 891s ok 35 __main__.TestCodegen.test_help 891s # gdbus-codegen: /usr/bin/gdbus-codegen 891s # tmpdir: /tmp/tmpaorxfwol 891s # Running: ['/usr/bin/gdbus-codegen', '--help'] 891s # Return code: 0 891s # Output: 891s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 891s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 891s # [--c-generate-autocleanup {none,objects,all}] 891s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 891s # [--generate-rst OUTFILES] [--pragma-once] 891s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 891s # [--glib-min-required VERSION] 891s # [--glib-max-allowed VERSION] 891s # [--symbol-decorator SYMBOL_DECORATOR] 891s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 891s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 891s # [--generate-c-code OUTFILES | --header | --body | 891s # --interface-info-header | --interface-info-body] 891s # [--output FILE | --output-directory OUTDIR] 891s # FILE [FILE ...] 891s # 891s # D-Bus code and documentation generator 891s # 891s # positional arguments: 891s # FILE D-Bus introspection XML file 891s # 891s # options: 891s # -h, --help show this help message and exit 891s # --interface-prefix PREFIX 891s # String to strip from D-Bus interface names for code 891s # and docs 891s # --c-namespace NAMESPACE 891s # The namespace to use for generated C code 891s # --c-generate-object-manager 891s # Generate a GDBusObjectManagerClient subclass when 891s # generating C code 891s # --c-generate-autocleanup {none,objects,all} 891s # Generate autocleanup support 891s # --generate-docbook OUTFILES 891s # Generate Docbook in OUTFILES-org.Project.IFace.xml 891s # --generate-md OUTFILES 891s # Generate Markdown in OUTFILES-org.Project.IFace.md 891s # --generate-rst OUTFILES 891s # Generate reStructuredText in OUTFILES- 891s # org.Project.IFace.rst 891s # --pragma-once Use "pragma once" as the inclusion guard 891s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 891s # Add annotation (may be used several times) 891s # --glib-min-required VERSION 891s # Minimum version of GLib to be supported by the 891s # outputted code (default: 2.30) 891s # --glib-max-allowed VERSION 891s # Maximum version of GLib to be used by the outputted 891s # code (default: current GLib version) 891s # --symbol-decorator SYMBOL_DECORATOR 891s # Macro used to decorate a symbol in the outputted 891s # header, possibly to export symbols 891s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 891s # Additional header required for decorator specified by 891s # --symbol-decorator 891s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 891s # Additional define required for decorator specified by 891s # --symbol-decorator 891s # --generate-c-code OUTFILES 891s # Generate C code in OUTFILES.[ch] 891s # --header Generate C headers 891s # --body Generate C code 891s # --interface-info-header 891s # Generate GDBusInterfaceInfo C header 891s # --interface-info-body 891s # Generate GDBusInterfaceInfo C code 891s # --output FILE Write output into the specified file 891s # --output-directory OUTDIR 891s # Location to output generated files 891s # Error: 891s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 891s # gdbus-codegen: /usr/bin/gdbus-codegen 891s # tmpdir: /tmp/tmpt90rhhoe 891s # /tmp/tmpt90rhhoe/tmpg2t0c9qq.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt90rhhoe/tmpg2t0c9qq.xml', '--generate-rst', 'test'] 891s # Return code: 0 891s # Output: 891s # 891s # Error: 891s # 891s # /tmp/tmpt90rhhoe/tmp9qxkgtpv.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt90rhhoe/tmp9qxkgtpv.xml', '--generate-md', 'test'] 891s # Return code: 0 891s # Output: 891s # 891s # Error: 891s # 891s # /tmp/tmpt90rhhoe/tmp_gz0t_jv.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt90rhhoe/tmp_gz0t_jv.xml', '--generate-docbook', 'test'] 891s # Return code: 0 891s # Output: 891s # 891s # Error: 891s ok 37 __main__.TestCodegen.test_no_args 891s # gdbus-codegen: /usr/bin/gdbus-codegen 891s # tmpdir: /tmp/tmp1lkntn6o 891s # Running: ['/usr/bin/gdbus-codegen'] 891s # Return code: 2 891s # Output: 891s # 891s # Error: 891s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 891s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 891s # [--c-generate-autocleanup {none,objects,all}] 891s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 891s # [--generate-rst OUTFILES] [--pragma-once] 891s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 891s # [--glib-min-required VERSION] 891s # [--glib-max-allowed VERSION] 891s # [--symbol-decorator SYMBOL_DECORATOR] 891s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 891s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 891s # [--generate-c-code OUTFILES | --header | --body | 891s # --interface-info-header | --interface-info-body] 891s # [--output FILE | --output-directory OUTDIR] 891s # FILE [FILE ...] 891s # gdbus-codegen: error: the following arguments are required: FILE 891s ok 38 __main__.TestCodegen.test_reproducible 891s # gdbus-codegen: /usr/bin/gdbus-codegen 891s # tmpdir: /tmp/tmprtu4yxu0 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtu4yxu0/tmpjt14tfsk1.xml', '/tmp/tmprtu4yxu0/tmpathfiypj2.xml', '--output', '-', '--header'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifndef __STDOUT__ 891s # #define __STDOUT__ 891s # 891s # #include 891s # 891s # G_BEGIN_DECLS 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for org.project.Bar.Frobnicator */ 891s # 891s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 891s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 891s # 891s # struct _OrgProjectBarFrobnicator; 891s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 891s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 891s # 891s # struct _OrgProjectBarFrobnicatorIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # gboolean (*handle_random_method) ( 891s # OrgProjectBarFrobnicator *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # }; 891s # 891s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 891s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void org_project_bar_frobnicator_complete_random_method ( 891s # OrgProjectBarFrobnicator *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void org_project_bar_frobnicator_call_random_method ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 891s # 891s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 891s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 891s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 891s # 891s # struct _OrgProjectBarFrobnicatorProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # OrgProjectBarFrobnicatorProxyPrivate *priv; 891s # }; 891s # 891s # struct _OrgProjectBarFrobnicatorProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 891s # #endif 891s # 891s # void org_project_bar_frobnicator_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void org_project_bar_frobnicator_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 891s # 891s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 891s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 891s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 891s # 891s # struct _OrgProjectBarFrobnicatorSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _OrgProjectBarFrobnicatorSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 891s # #endif 891s # 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for com.acme.Coyote */ 891s # 891s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 891s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 891s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 891s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 891s # 891s # struct _ComAcmeCoyote; 891s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 891s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 891s # 891s # struct _ComAcmeCoyoteIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # 891s # 891s # gboolean (*handle_attack) ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # gboolean (*handle_run) ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # gboolean (*handle_sleep) ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # const gchar * (*get_mood) (ComAcmeCoyote *object); 891s # 891s # void (*surprised) ( 891s # ComAcmeCoyote *object); 891s # 891s # }; 891s # 891s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 891s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void com_acme_coyote_complete_run ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # void com_acme_coyote_complete_sleep ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # void com_acme_coyote_complete_attack ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # 891s # 891s # /* D-Bus signal emissions functions: */ 891s # void com_acme_coyote_emit_surprised ( 891s # ComAcmeCoyote *object); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void com_acme_coyote_call_run ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean com_acme_coyote_call_run_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean com_acme_coyote_call_run_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void com_acme_coyote_call_sleep ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean com_acme_coyote_call_sleep_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean com_acme_coyote_call_sleep_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void com_acme_coyote_call_attack ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean com_acme_coyote_call_attack_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean com_acme_coyote_call_attack_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* D-Bus property accessors: */ 891s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 891s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 891s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 891s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 891s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 891s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 891s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 891s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 891s # 891s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 891s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 891s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 891s # 891s # struct _ComAcmeCoyoteProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # ComAcmeCoyoteProxyPrivate *priv; 891s # }; 891s # 891s # struct _ComAcmeCoyoteProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 891s # #endif 891s # 891s # void com_acme_coyote_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void com_acme_coyote_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 891s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 891s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 891s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 891s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 891s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 891s # 891s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 891s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 891s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 891s # 891s # struct _ComAcmeCoyoteSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # ComAcmeCoyoteSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _ComAcmeCoyoteSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 891s # #endif 891s # 891s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 891s # 891s # 891s # G_END_DECLS 891s # 891s # #endif /* __STDOUT__ */ 891s # Error: 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtu4yxu0/tmpathfiypj2.xml', '/tmp/tmprtu4yxu0/tmpjt14tfsk1.xml', '--output', '-', '--header'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifndef __STDOUT__ 891s # #define __STDOUT__ 891s # 891s # #include 891s # 891s # G_BEGIN_DECLS 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for org.project.Bar.Frobnicator */ 891s # 891s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 891s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 891s # 891s # struct _OrgProjectBarFrobnicator; 891s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 891s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 891s # 891s # struct _OrgProjectBarFrobnicatorIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # gboolean (*handle_random_method) ( 891s # OrgProjectBarFrobnicator *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # }; 891s # 891s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 891s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void org_project_bar_frobnicator_complete_random_method ( 891s # OrgProjectBarFrobnicator *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void org_project_bar_frobnicator_call_random_method ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 891s # 891s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 891s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 891s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 891s # 891s # struct _OrgProjectBarFrobnicatorProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # OrgProjectBarFrobnicatorProxyPrivate *priv; 891s # }; 891s # 891s # struct _OrgProjectBarFrobnicatorProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 891s # #endif 891s # 891s # void org_project_bar_frobnicator_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void org_project_bar_frobnicator_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 891s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 891s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 891s # 891s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 891s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 891s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 891s # 891s # struct _OrgProjectBarFrobnicatorSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _OrgProjectBarFrobnicatorSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 891s # #endif 891s # 891s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for com.acme.Coyote */ 891s # 891s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 891s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 891s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 891s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 891s # 891s # struct _ComAcmeCoyote; 891s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 891s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 891s # 891s # struct _ComAcmeCoyoteIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # 891s # 891s # gboolean (*handle_attack) ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # gboolean (*handle_run) ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # gboolean (*handle_sleep) ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # const gchar * (*get_mood) (ComAcmeCoyote *object); 891s # 891s # void (*surprised) ( 891s # ComAcmeCoyote *object); 891s # 891s # }; 891s # 891s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 891s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void com_acme_coyote_complete_run ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # void com_acme_coyote_complete_sleep ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # void com_acme_coyote_complete_attack ( 891s # ComAcmeCoyote *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # 891s # 891s # /* D-Bus signal emissions functions: */ 891s # void com_acme_coyote_emit_surprised ( 891s # ComAcmeCoyote *object); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void com_acme_coyote_call_run ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean com_acme_coyote_call_run_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean com_acme_coyote_call_run_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void com_acme_coyote_call_sleep ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean com_acme_coyote_call_sleep_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean com_acme_coyote_call_sleep_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void com_acme_coyote_call_attack ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean com_acme_coyote_call_attack_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean com_acme_coyote_call_attack_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* D-Bus property accessors: */ 891s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 891s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 891s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 891s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 891s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 891s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 891s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 891s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 891s # 891s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 891s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 891s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 891s # 891s # struct _ComAcmeCoyoteProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # ComAcmeCoyoteProxyPrivate *priv; 891s # }; 891s # 891s # struct _ComAcmeCoyoteProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 891s # #endif 891s # 891s # void com_acme_coyote_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void com_acme_coyote_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 891s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 891s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 891s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 891s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 891s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 891s # 891s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 891s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 891s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 891s # 891s # struct _ComAcmeCoyoteSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # ComAcmeCoyoteSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _ComAcmeCoyoteSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 891s # #endif 891s # 891s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 891s # 891s # 891s # G_END_DECLS 891s # 891s # #endif /* __STDOUT__ */ 891s # Error: 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtu4yxu0/tmpjt14tfsk1.xml', '/tmp/tmprtu4yxu0/tmpathfiypj2.xml', '--output', '-', '--body'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.Bar.Frobnicator 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectBarFrobnicator 891s # * @title: OrgProjectBarFrobnicator 891s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 891s # { 891s # { 891s # -1, 891s # (gchar *) "RandomMethod", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-random-method", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 891s # { 891s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.Bar.Frobnicator", 891s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-bar-frobnicator", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_bar_frobnicator_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_bar_frobnicator_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_bar_frobnicator_method_marshal_random_method ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectBarFrobnicator: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 891s # */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 891s # */ 891s # 891s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 891s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectBarFrobnicator::handle-random-method: 891s # * @object: A #OrgProjectBarFrobnicator. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-random-method", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_bar_frobnicator_method_marshal_random_method, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_call_random_method: 891s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 891s # * 891s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_bar_frobnicator_call_random_method ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "RandomMethod", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_call_random_method_finish: 891s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_bar_frobnicator_call_random_method_finish ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_call_random_method_sync: 891s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_bar_frobnicator_call_random_method_sync ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "RandomMethod", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_complete_random_method: 891s # * @object: A #OrgProjectBarFrobnicator. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_bar_frobnicator_complete_random_method ( 891s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorProxy: 891s # * 891s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectBarFrobnicatorProxy. 891s # */ 891s # 891s # struct _OrgProjectBarFrobnicatorProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 891s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 891s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_bar_frobnicator_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_bar_frobnicator_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorSkeleton: 891s # * 891s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 891s # */ 891s # 891s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 891s # { 891s # _org_project_bar_frobnicator_skeleton_handle_method_call, 891s # _org_project_bar_frobnicator_skeleton_handle_get_property, 891s # _org_project_bar_frobnicator_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_bar_frobnicator_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 891s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #else 891s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #endif 891s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface com.acme.Coyote 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:ComAcmeCoyote 891s # * @title: ComAcmeCoyote 891s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 891s # * 891s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _COM_ACME_COYOTE_SURPRISED, 891s # }; 891s # 891s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for com.acme.Coyote ---- */ 891s # 891s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Run", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-run", 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Sleep", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-sleep", 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Attack", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-attack", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 891s # { 891s # &_com_acme_coyote_method_info_run.parent_struct, 891s # &_com_acme_coyote_method_info_sleep.parent_struct, 891s # &_com_acme_coyote_method_info_attack.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Surprised", 891s # NULL, 891s # NULL 891s # }, 891s # "surprised" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 891s # { 891s # &_com_acme_coyote_signal_info_surprised.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Mood", 891s # (gchar *) "s", 891s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 891s # NULL 891s # }, 891s # "mood", 891s # FALSE, 891s # TRUE 891s # }; 891s # 891s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 891s # { 891s # &_com_acme_coyote_property_info_mood.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "com.acme.Coyote", 891s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 891s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 891s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 891s # NULL 891s # }, 891s # "com-acme-coyote", 891s # }; 891s # 891s # 891s # /** 891s # * com_acme_coyote_interface_info: 891s # * 891s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # com_acme_coyote_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 891s # { 891s # g_object_class_override_property (klass, property_id_begin++, "mood"); 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # com_acme_coyote_signal_marshal_surprised ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # com_acme_coyote_method_marshal_run ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # com_acme_coyote_method_marshal_sleep ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # com_acme_coyote_method_marshal_attack ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * ComAcmeCoyote: 891s # * 891s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 891s # */ 891s # 891s # /** 891s # * ComAcmeCoyoteIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 891s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 891s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 891s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 891s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 891s # * 891s # * Virtual table for the D-Bus interface com.acme.Coyote. 891s # */ 891s # 891s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 891s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 891s # 891s # static void 891s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * ComAcmeCoyote::handle-run: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-run", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # com_acme_coyote_method_marshal_run, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # /** 891s # * ComAcmeCoyote::handle-sleep: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-sleep", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # com_acme_coyote_method_marshal_sleep, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # /** 891s # * ComAcmeCoyote::handle-attack: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-attack", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # com_acme_coyote_method_marshal_attack, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * ComAcmeCoyote::surprised: 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 891s # g_signal_new ("surprised", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 891s # NULL, 891s # NULL, 891s # com_acme_coyote_signal_marshal_surprised, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # /* GObject properties for D-Bus properties: */ 891s # /** 891s # * ComAcmeCoyote:mood: 891s # * 891s # * Represents the D-Bus property "Mood". 891s # * 891s # * 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. 891s # */ 891s # g_object_interface_install_property (iface, 891s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_get_mood: (skip) 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * Gets the value of the "Mood" D-Bus property. 891s # * 891s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # const gchar * 891s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 891s # { 891s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 891s # 891s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_dup_mood: (skip) 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * Gets a copy of the "Mood" D-Bus property. 891s # * 891s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 891s # * 891s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 891s # */ 891s # gchar * 891s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 891s # { 891s # gchar *value; 891s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 891s # return value; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_set_mood: (skip) 891s # * @object: A #ComAcmeCoyote. 891s # * @value: The value to set. 891s # * 891s # * Sets the "Mood" D-Bus property to @value. 891s # * 891s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 891s # */ 891s # void 891s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 891s # { 891s # g_object_set (G_OBJECT (object), "mood", value, NULL); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_emit_surprised: 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * Emits the "Surprised" D-Bus signal. 891s # */ 891s # void 891s # com_acme_coyote_emit_surprised ( 891s # ComAcmeCoyote *object) 891s # { 891s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_run: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the Run() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # com_acme_coyote_call_run ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "Run", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_run_finish: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with com_acme_coyote_call_run(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_run_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_run_sync: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_run_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "Run", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_sleep: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # com_acme_coyote_call_sleep ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "Sleep", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_sleep_finish: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with com_acme_coyote_call_sleep(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_sleep_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_sleep_sync: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_sleep_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "Sleep", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_attack: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # com_acme_coyote_call_attack ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "Attack", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_attack_finish: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with com_acme_coyote_call_attack(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_attack_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_attack_sync: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_attack_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "Attack", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_complete_run: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # com_acme_coyote_complete_run ( 891s # ComAcmeCoyote *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_complete_sleep: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # com_acme_coyote_complete_sleep ( 891s # ComAcmeCoyote *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_complete_attack: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # com_acme_coyote_complete_attack ( 891s # ComAcmeCoyote *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * ComAcmeCoyoteProxy: 891s # * 891s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * ComAcmeCoyoteProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #ComAcmeCoyoteProxy. 891s # */ 891s # 891s # struct _ComAcmeCoyoteProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # com_acme_coyote_proxy_finalize (GObject *object) 891s # { 891s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_get_property (GObject *object, 891s # guint prop_id, 891s # GValue *value, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # GVariant *variant; 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 891s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 891s # if (info->use_gvariant) 891s # { 891s # g_value_set_variant (value, variant); 891s # } 891s # else 891s # { 891s # if (variant != NULL) 891s # g_dbus_gvariant_to_gvalue (variant, value); 891s # } 891s # if (variant != NULL) 891s # g_variant_unref (variant); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 891s # GAsyncResult *res, 891s # gpointer user_data) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info = user_data; 891s # GError *error; 891s # GVariant *_ret; 891s # error = NULL; 891s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 891s # if (!_ret) 891s # { 891s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 891s # info->parent_struct.name, 891s # error->message, g_quark_to_string (error->domain), error->code); 891s # g_error_free (error); 891s # } 891s # else 891s # { 891s # g_variant_unref (_ret); 891s # } 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_set_property (GObject *object, 891s # guint prop_id, 891s # const GValue *value, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # GVariant *variant; 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 891s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_dbus_proxy_call (G_DBUS_PROXY (object), 891s # "org.freedesktop.DBus.Properties.Set", 891s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 891s # g_variant_unref (variant); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static const gchar * 891s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 891s # { 891s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 891s # GVariant *variant; 891s # const gchar *value = NULL; 891s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 891s # if (variant != NULL) 891s # { 891s # value = g_variant_get_string (variant, NULL); 891s # g_variant_unref (variant); 891s # } 891s # return value; 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 891s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 891s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 891s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 891s # 891s # com_acme_coyote_override_properties (gobject_class, 1); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 891s # { 891s # iface->get_mood = com_acme_coyote_proxy_get_mood; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # com_acme_coyote_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with com_acme_coyote_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # com_acme_coyote_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * ComAcmeCoyoteSkeleton: 891s # * 891s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * ComAcmeCoyoteSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #ComAcmeCoyoteSkeleton. 891s # */ 891s # 891s # struct _ComAcmeCoyoteSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _com_acme_coyote_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _com_acme_coyote_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _com_acme_coyote_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 891s # { 891s # _com_acme_coyote_skeleton_handle_method_call, 891s # _com_acme_coyote_skeleton_handle_get_property, 891s # _com_acme_coyote_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return com_acme_coyote_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 891s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #else 891s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #endif 891s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 891s # 891s # static void 891s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 891s # gboolean emit_changed = FALSE; 891s # 891s # g_mutex_lock (&skeleton->priv->lock); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # { 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # skeleton->priv->changed_properties_idle_source = NULL; 891s # emit_changed = TRUE; 891s # } 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # 891s # if (emit_changed) 891s # _com_acme_coyote_emit_changed (skeleton); 891s # } 891s # 891s # static void 891s # _com_acme_coyote_on_signal_surprised ( 891s # ComAcmeCoyote *object) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # com_acme_coyote_skeleton_finalize (GObject *object) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # guint n; 891s # for (n = 0; n < 1; n++) 891s # g_value_unset (&skeleton->priv->properties[n]); 891s # g_free (skeleton->priv->properties); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_get_property (GObject *object, 891s # guint prop_id, 891s # GValue *value, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # g_mutex_lock (&skeleton->priv->lock); 891s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # } 891s # 891s # static gboolean 891s # _com_acme_coyote_emit_changed (gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # GList *l; 891s # GVariantBuilder builder; 891s # GVariantBuilder invalidated_builder; 891s # guint num_changes; 891s # 891s # g_mutex_lock (&skeleton->priv->lock); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 891s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 891s # #else 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 891s # #endif 891s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 891s # { 891s # ChangedProperty *cp = l->data; 891s # GVariant *variant; 891s # const GValue *cur_value; 891s # 891s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 891s # if (!_g_value_equal (cur_value, &cp->orig_value)) 891s # { 891s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 891s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 891s # g_variant_unref (variant); 891s # num_changes++; 891s # } 891s # } 891s # if (num_changes > 0) 891s # { 891s # GList *connections, *ll; 891s # GVariant *signal_variant; 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 891s # &builder, &invalidated_builder)); 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # for (ll = connections; ll != NULL; ll = ll->next) 891s # { 891s # GDBusConnection *connection = ll->data; 891s # 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 891s # "org.freedesktop.DBus.Properties", 891s # "PropertiesChanged", 891s # signal_variant, 891s # NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # else 891s # { 891s # g_variant_builder_clear (&builder); 891s # g_variant_builder_clear (&invalidated_builder); 891s # } 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # skeleton->priv->changed_properties = NULL; 891s # skeleton->priv->changed_properties_idle_source = NULL; 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # return FALSE; 891s # } 891s # 891s # static void 891s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 891s # { 891s # ChangedProperty *cp; 891s # GList *l; 891s # cp = NULL; 891s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 891s # { 891s # ChangedProperty *i_cp = l->data; 891s # if (i_cp->info == info) 891s # { 891s # cp = i_cp; 891s # break; 891s # } 891s # } 891s # if (cp == NULL) 891s # { 891s # cp = g_new0 (ChangedProperty, 1); 891s # cp->prop_id = prop_id; 891s # cp->info = info; 891s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 891s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 891s # g_value_copy (orig_value, &cp->orig_value); 891s # } 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_notify (GObject *object, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # g_mutex_lock (&skeleton->priv->lock); 891s # if (skeleton->priv->changed_properties != NULL && 891s # skeleton->priv->changed_properties_idle_source == NULL) 891s # { 891s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 891s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 891s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 891s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 891s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 891s # g_source_unref (skeleton->priv->changed_properties_idle_source); 891s # } 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_set_property (GObject *object, 891s # guint prop_id, 891s # const GValue *value, 891s # GParamSpec *pspec) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 891s # g_mutex_lock (&skeleton->priv->lock); 891s # g_object_freeze_notify (object); 891s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 891s # { 891s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 891s # info->emits_changed_signal) 891s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 891s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 891s # g_object_notify_by_pspec (object, pspec); 891s # } 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # g_object_thaw_notify (object); 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # skeleton->priv->properties = g_new0 (GValue, 1); 891s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 891s # } 891s # 891s # static const gchar * 891s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # const gchar *value; 891s # g_mutex_lock (&skeleton->priv->lock); 891s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # return value; 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 891s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 891s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 891s # gobject_class->notify = com_acme_coyote_skeleton_notify; 891s # 891s # 891s # com_acme_coyote_override_properties (gobject_class, 1); 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 891s # { 891s # iface->surprised = _com_acme_coyote_on_signal_surprised; 891s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_skeleton_new (void) 891s # { 891s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 891s # } 891s # Error: 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtu4yxu0/tmpathfiypj2.xml', '/tmp/tmprtu4yxu0/tmpjt14tfsk1.xml', '--output', '-', '--body'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.Bar.Frobnicator 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectBarFrobnicator 891s # * @title: OrgProjectBarFrobnicator 891s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 891s # { 891s # { 891s # -1, 891s # (gchar *) "RandomMethod", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-random-method", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 891s # { 891s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.Bar.Frobnicator", 891s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-bar-frobnicator", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_bar_frobnicator_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_bar_frobnicator_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_bar_frobnicator_method_marshal_random_method ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectBarFrobnicator: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 891s # */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 891s # */ 891s # 891s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 891s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectBarFrobnicator::handle-random-method: 891s # * @object: A #OrgProjectBarFrobnicator. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-random-method", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_bar_frobnicator_method_marshal_random_method, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_call_random_method: 891s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 891s # * 891s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_bar_frobnicator_call_random_method ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "RandomMethod", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_call_random_method_finish: 891s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_bar_frobnicator_call_random_method_finish ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_call_random_method_sync: 891s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_bar_frobnicator_call_random_method_sync ( 891s # OrgProjectBarFrobnicator *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "RandomMethod", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_complete_random_method: 891s # * @object: A #OrgProjectBarFrobnicator. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_bar_frobnicator_complete_random_method ( 891s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorProxy: 891s # * 891s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectBarFrobnicatorProxy. 891s # */ 891s # 891s # struct _OrgProjectBarFrobnicatorProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 891s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 891s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_bar_frobnicator_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_bar_frobnicator_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorSkeleton: 891s # * 891s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectBarFrobnicatorSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 891s # */ 891s # 891s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 891s # { 891s # _org_project_bar_frobnicator_skeleton_handle_method_call, 891s # _org_project_bar_frobnicator_skeleton_handle_get_property, 891s # _org_project_bar_frobnicator_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_bar_frobnicator_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 891s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #else 891s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #endif 891s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_bar_frobnicator_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 891s # * 891s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 891s # */ 891s # OrgProjectBarFrobnicator * 891s # org_project_bar_frobnicator_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface com.acme.Coyote 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:ComAcmeCoyote 891s # * @title: ComAcmeCoyote 891s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 891s # * 891s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _COM_ACME_COYOTE_SURPRISED, 891s # }; 891s # 891s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for com.acme.Coyote ---- */ 891s # 891s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Run", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-run", 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Sleep", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-sleep", 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Attack", 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-attack", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 891s # { 891s # &_com_acme_coyote_method_info_run.parent_struct, 891s # &_com_acme_coyote_method_info_sleep.parent_struct, 891s # &_com_acme_coyote_method_info_attack.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Surprised", 891s # NULL, 891s # NULL 891s # }, 891s # "surprised" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 891s # { 891s # &_com_acme_coyote_signal_info_surprised.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 891s # { 891s # { 891s # -1, 891s # (gchar *) "Mood", 891s # (gchar *) "s", 891s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 891s # NULL 891s # }, 891s # "mood", 891s # FALSE, 891s # TRUE 891s # }; 891s # 891s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 891s # { 891s # &_com_acme_coyote_property_info_mood.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "com.acme.Coyote", 891s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 891s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 891s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 891s # NULL 891s # }, 891s # "com-acme-coyote", 891s # }; 891s # 891s # 891s # /** 891s # * com_acme_coyote_interface_info: 891s # * 891s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # com_acme_coyote_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 891s # { 891s # g_object_class_override_property (klass, property_id_begin++, "mood"); 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # com_acme_coyote_signal_marshal_surprised ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # com_acme_coyote_method_marshal_run ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # com_acme_coyote_method_marshal_sleep ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # com_acme_coyote_method_marshal_attack ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * ComAcmeCoyote: 891s # * 891s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 891s # */ 891s # 891s # /** 891s # * ComAcmeCoyoteIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 891s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 891s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 891s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 891s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 891s # * 891s # * Virtual table for the D-Bus interface com.acme.Coyote. 891s # */ 891s # 891s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 891s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 891s # 891s # static void 891s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * ComAcmeCoyote::handle-run: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-run", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # com_acme_coyote_method_marshal_run, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # /** 891s # * ComAcmeCoyote::handle-sleep: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-sleep", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # com_acme_coyote_method_marshal_sleep, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # /** 891s # * ComAcmeCoyote::handle-attack: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-attack", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # com_acme_coyote_method_marshal_attack, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * ComAcmeCoyote::surprised: 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 891s # g_signal_new ("surprised", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 891s # NULL, 891s # NULL, 891s # com_acme_coyote_signal_marshal_surprised, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # /* GObject properties for D-Bus properties: */ 891s # /** 891s # * ComAcmeCoyote:mood: 891s # * 891s # * Represents the D-Bus property "Mood". 891s # * 891s # * 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. 891s # */ 891s # g_object_interface_install_property (iface, 891s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_get_mood: (skip) 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * Gets the value of the "Mood" D-Bus property. 891s # * 891s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # const gchar * 891s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 891s # { 891s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 891s # 891s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_dup_mood: (skip) 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * Gets a copy of the "Mood" D-Bus property. 891s # * 891s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 891s # * 891s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 891s # */ 891s # gchar * 891s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 891s # { 891s # gchar *value; 891s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 891s # return value; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_set_mood: (skip) 891s # * @object: A #ComAcmeCoyote. 891s # * @value: The value to set. 891s # * 891s # * Sets the "Mood" D-Bus property to @value. 891s # * 891s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 891s # */ 891s # void 891s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 891s # { 891s # g_object_set (G_OBJECT (object), "mood", value, NULL); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_emit_surprised: 891s # * @object: A #ComAcmeCoyote. 891s # * 891s # * Emits the "Surprised" D-Bus signal. 891s # */ 891s # void 891s # com_acme_coyote_emit_surprised ( 891s # ComAcmeCoyote *object) 891s # { 891s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_run: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the Run() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # com_acme_coyote_call_run ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "Run", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_run_finish: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with com_acme_coyote_call_run(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_run_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_run_sync: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_run_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "Run", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_sleep: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # com_acme_coyote_call_sleep ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "Sleep", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_sleep_finish: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with com_acme_coyote_call_sleep(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_sleep_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_sleep_sync: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_sleep_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "Sleep", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_attack: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # com_acme_coyote_call_attack ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "Attack", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_attack_finish: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with com_acme_coyote_call_attack(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_attack_finish ( 891s # ComAcmeCoyote *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_call_attack_sync: 891s # * @proxy: A #ComAcmeCoyoteProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # com_acme_coyote_call_attack_sync ( 891s # ComAcmeCoyote *proxy, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "Attack", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_complete_run: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # com_acme_coyote_complete_run ( 891s # ComAcmeCoyote *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_complete_sleep: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # com_acme_coyote_complete_sleep ( 891s # ComAcmeCoyote *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_complete_attack: 891s # * @object: A #ComAcmeCoyote. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # com_acme_coyote_complete_attack ( 891s # ComAcmeCoyote *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * ComAcmeCoyoteProxy: 891s # * 891s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * ComAcmeCoyoteProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #ComAcmeCoyoteProxy. 891s # */ 891s # 891s # struct _ComAcmeCoyoteProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # com_acme_coyote_proxy_finalize (GObject *object) 891s # { 891s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_get_property (GObject *object, 891s # guint prop_id, 891s # GValue *value, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # GVariant *variant; 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 891s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 891s # if (info->use_gvariant) 891s # { 891s # g_value_set_variant (value, variant); 891s # } 891s # else 891s # { 891s # if (variant != NULL) 891s # g_dbus_gvariant_to_gvalue (variant, value); 891s # } 891s # if (variant != NULL) 891s # g_variant_unref (variant); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 891s # GAsyncResult *res, 891s # gpointer user_data) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info = user_data; 891s # GError *error; 891s # GVariant *_ret; 891s # error = NULL; 891s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 891s # if (!_ret) 891s # { 891s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 891s # info->parent_struct.name, 891s # error->message, g_quark_to_string (error->domain), error->code); 891s # g_error_free (error); 891s # } 891s # else 891s # { 891s # g_variant_unref (_ret); 891s # } 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_set_property (GObject *object, 891s # guint prop_id, 891s # const GValue *value, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # GVariant *variant; 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 891s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_dbus_proxy_call (G_DBUS_PROXY (object), 891s # "org.freedesktop.DBus.Properties.Set", 891s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 891s # g_variant_unref (variant); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static const gchar * 891s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 891s # { 891s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 891s # GVariant *variant; 891s # const gchar *value = NULL; 891s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 891s # if (variant != NULL) 891s # { 891s # value = g_variant_get_string (variant, NULL); 891s # g_variant_unref (variant); 891s # } 891s # return value; 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 891s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 891s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 891s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 891s # 891s # com_acme_coyote_override_properties (gobject_class, 1); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 891s # { 891s # iface->get_mood = com_acme_coyote_proxy_get_mood; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # com_acme_coyote_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with com_acme_coyote_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # com_acme_coyote_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return COM_ACME_COYOTE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * ComAcmeCoyoteSkeleton: 891s # * 891s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * ComAcmeCoyoteSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #ComAcmeCoyoteSkeleton. 891s # */ 891s # 891s # struct _ComAcmeCoyoteSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _com_acme_coyote_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _com_acme_coyote_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _com_acme_coyote_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 891s # { 891s # _com_acme_coyote_skeleton_handle_method_call, 891s # _com_acme_coyote_skeleton_handle_get_property, 891s # _com_acme_coyote_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return com_acme_coyote_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 891s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #else 891s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 891s # #endif 891s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 891s # 891s # static void 891s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 891s # gboolean emit_changed = FALSE; 891s # 891s # g_mutex_lock (&skeleton->priv->lock); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # { 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # skeleton->priv->changed_properties_idle_source = NULL; 891s # emit_changed = TRUE; 891s # } 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # 891s # if (emit_changed) 891s # _com_acme_coyote_emit_changed (skeleton); 891s # } 891s # 891s # static void 891s # _com_acme_coyote_on_signal_surprised ( 891s # ComAcmeCoyote *object) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # com_acme_coyote_skeleton_finalize (GObject *object) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # guint n; 891s # for (n = 0; n < 1; n++) 891s # g_value_unset (&skeleton->priv->properties[n]); 891s # g_free (skeleton->priv->properties); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_get_property (GObject *object, 891s # guint prop_id, 891s # GValue *value, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # g_mutex_lock (&skeleton->priv->lock); 891s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # } 891s # 891s # static gboolean 891s # _com_acme_coyote_emit_changed (gpointer user_data) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 891s # GList *l; 891s # GVariantBuilder builder; 891s # GVariantBuilder invalidated_builder; 891s # guint num_changes; 891s # 891s # g_mutex_lock (&skeleton->priv->lock); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 891s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 891s # #else 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 891s # #endif 891s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 891s # { 891s # ChangedProperty *cp = l->data; 891s # GVariant *variant; 891s # const GValue *cur_value; 891s # 891s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 891s # if (!_g_value_equal (cur_value, &cp->orig_value)) 891s # { 891s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 891s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 891s # g_variant_unref (variant); 891s # num_changes++; 891s # } 891s # } 891s # if (num_changes > 0) 891s # { 891s # GList *connections, *ll; 891s # GVariant *signal_variant; 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 891s # &builder, &invalidated_builder)); 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # for (ll = connections; ll != NULL; ll = ll->next) 891s # { 891s # GDBusConnection *connection = ll->data; 891s # 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 891s # "org.freedesktop.DBus.Properties", 891s # "PropertiesChanged", 891s # signal_variant, 891s # NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # else 891s # { 891s # g_variant_builder_clear (&builder); 891s # g_variant_builder_clear (&invalidated_builder); 891s # } 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # skeleton->priv->changed_properties = NULL; 891s # skeleton->priv->changed_properties_idle_source = NULL; 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # return FALSE; 891s # } 891s # 891s # static void 891s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 891s # { 891s # ChangedProperty *cp; 891s # GList *l; 891s # cp = NULL; 891s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 891s # { 891s # ChangedProperty *i_cp = l->data; 891s # if (i_cp->info == info) 891s # { 891s # cp = i_cp; 891s # break; 891s # } 891s # } 891s # if (cp == NULL) 891s # { 891s # cp = g_new0 (ChangedProperty, 1); 891s # cp->prop_id = prop_id; 891s # cp->info = info; 891s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 891s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 891s # g_value_copy (orig_value, &cp->orig_value); 891s # } 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_notify (GObject *object, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # g_mutex_lock (&skeleton->priv->lock); 891s # if (skeleton->priv->changed_properties != NULL && 891s # skeleton->priv->changed_properties_idle_source == NULL) 891s # { 891s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 891s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 891s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 891s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 891s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 891s # g_source_unref (skeleton->priv->changed_properties_idle_source); 891s # } 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_set_property (GObject *object, 891s # guint prop_id, 891s # const GValue *value, 891s # GParamSpec *pspec) 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # g_assert (prop_id != 0 && prop_id - 1 < 1); 891s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 891s # g_mutex_lock (&skeleton->priv->lock); 891s # g_object_freeze_notify (object); 891s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 891s # { 891s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 891s # info->emits_changed_signal) 891s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 891s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 891s # g_object_notify_by_pspec (object, pspec); 891s # } 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # g_object_thaw_notify (object); 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # skeleton->priv->properties = g_new0 (GValue, 1); 891s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 891s # } 891s # 891s # static const gchar * 891s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 891s # { 891s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 891s # const gchar *value; 891s # g_mutex_lock (&skeleton->priv->lock); 891s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 891s # g_mutex_unlock (&skeleton->priv->lock); 891s # return value; 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 891s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 891s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 891s # gobject_class->notify = com_acme_coyote_skeleton_notify; 891s # 891s # 891s # com_acme_coyote_override_properties (gobject_class, 1); 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 891s # { 891s # iface->surprised = _com_acme_coyote_on_signal_surprised; 891s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 891s # } 891s # 891s # /** 891s # * com_acme_coyote_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 891s # * 891s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 891s # */ 891s # ComAcmeCoyote * 891s # com_acme_coyote_skeleton_new (void) 891s # { 891s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 891s # } 891s # Error: 891s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 891s # gdbus-codegen: /usr/bin/gdbus-codegen 891s # tmpdir: /tmp/tmpfxy290hh 891s # /tmp/tmpfxy290hh/tmpxzym3el2.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfxy290hh/tmpxzym3el2.xml', '--output', '-', '--header'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifndef __STDOUT__ 891s # #define __STDOUT__ 891s # 891s # #include 891s # 891s # G_BEGIN_DECLS 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for FDPassing */ 891s # 891s # #define TYPE_FDPASSING (fdpassing_get_type ()) 891s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 891s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 891s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 891s # 891s # struct _FDPassing; 891s # typedef struct _FDPassing FDPassing; 891s # typedef struct _FDPassingIface FDPassingIface; 891s # 891s # struct _FDPassingIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # gboolean (*handle_hello_fd) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *arg_greeting); 891s # 891s # gboolean (*handle_no_annotation) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale); 891s # 891s # gboolean (*handle_no_annotation_nested) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *arg_files); 891s # 891s # }; 891s # 891s # GType fdpassing_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *fdpassing_interface_info (void); 891s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void fdpassing_complete_hello_fd ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *response); 891s # 891s # void fdpassing_complete_no_annotation ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *response, 891s # const gchar *response_locale); 891s # 891s # void fdpassing_complete_no_annotation_nested ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void fdpassing_call_hello_fd ( 891s # FDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GUnixFDList *fd_list, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_hello_fd_finish ( 891s # FDPassing *proxy, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_hello_fd_sync ( 891s # FDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GUnixFDList *fd_list, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_call_no_annotation ( 891s # FDPassing *proxy, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_no_annotation_finish ( 891s # FDPassing *proxy, 891s # GVariant **out_response, 891s # gchar **out_response_locale, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_no_annotation_sync ( 891s # FDPassing *proxy, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale, 891s # GVariant **out_response, 891s # gchar **out_response_locale, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_call_no_annotation_nested ( 891s # FDPassing *proxy, 891s # GVariant *arg_files, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_no_annotation_nested_finish ( 891s # FDPassing *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_no_annotation_nested_sync ( 891s # FDPassing *proxy, 891s # GVariant *arg_files, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 891s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 891s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 891s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 891s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 891s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 891s # 891s # typedef struct _FDPassingProxy FDPassingProxy; 891s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 891s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 891s # 891s # struct _FDPassingProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # FDPassingProxyPrivate *priv; 891s # }; 891s # 891s # struct _FDPassingProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 891s # #endif 891s # 891s # void fdpassing_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # FDPassing *fdpassing_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # FDPassing *fdpassing_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 891s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 891s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 891s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 891s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 891s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 891s # 891s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 891s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 891s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 891s # 891s # struct _FDPassingSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # FDPassingSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _FDPassingSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 891s # #endif 891s # 891s # FDPassing *fdpassing_skeleton_new (void); 891s # 891s # 891s # G_END_DECLS 891s # 891s # #endif /* __STDOUT__ */ 891s # Error: 891s # 891s # /tmp/tmpfxy290hh/tmp2kwxkj17.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfxy290hh/tmp2kwxkj17.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifndef __STDOUT__ 891s # #define __STDOUT__ 891s # 891s # #include 891s # 891s # G_BEGIN_DECLS 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for FDPassing */ 891s # 891s # #define TYPE_FDPASSING (fdpassing_get_type ()) 891s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 891s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 891s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 891s # 891s # struct _FDPassing; 891s # typedef struct _FDPassing FDPassing; 891s # typedef struct _FDPassingIface FDPassingIface; 891s # 891s # struct _FDPassingIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # gboolean (*handle_hello_fd) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *arg_greeting); 891s # 891s # gboolean (*handle_no_annotation) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale); 891s # 891s # gboolean (*handle_no_annotation_nested) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *arg_files); 891s # 891s # }; 891s # 891s # GType fdpassing_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *fdpassing_interface_info (void); 891s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void fdpassing_complete_hello_fd ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *response); 891s # 891s # void fdpassing_complete_no_annotation ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *response, 891s # const gchar *response_locale); 891s # 891s # void fdpassing_complete_no_annotation_nested ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void fdpassing_call_hello_fd ( 891s # FDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GUnixFDList *fd_list, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_hello_fd_finish ( 891s # FDPassing *proxy, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_hello_fd_sync ( 891s # FDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GUnixFDList *fd_list, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_call_no_annotation ( 891s # FDPassing *proxy, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_no_annotation_finish ( 891s # FDPassing *proxy, 891s # GVariant **out_response, 891s # gchar **out_response_locale, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_no_annotation_sync ( 891s # FDPassing *proxy, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale, 891s # GVariant **out_response, 891s # gchar **out_response_locale, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_call_no_annotation_nested ( 891s # FDPassing *proxy, 891s # GVariant *arg_files, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_no_annotation_nested_finish ( 891s # FDPassing *proxy, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_no_annotation_nested_sync ( 891s # FDPassing *proxy, 891s # GVariant *arg_files, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 891s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 891s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 891s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 891s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 891s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 891s # 891s # typedef struct _FDPassingProxy FDPassingProxy; 891s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 891s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 891s # 891s # struct _FDPassingProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # FDPassingProxyPrivate *priv; 891s # }; 891s # 891s # struct _FDPassingProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 891s # #endif 891s # 891s # void fdpassing_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # FDPassing *fdpassing_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # FDPassing *fdpassing_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError ok - glib/codegen.py.test 891s # Running test: glib/performance-threaded.test 891s **error); 891s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 891s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 891s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 891s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 891s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 891s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 891s # 891s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 891s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 891s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 891s # 891s # struct _FDPassingSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # FDPassingSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _FDPassingSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 891s # #endif 891s # 891s # FDPassing *fdpassing_skeleton_new (void); 891s # 891s # 891s # G_END_DECLS 891s # 891s # #endif /* __STDOUT__ */ 891s # Error: 891s # 891s # /tmp/tmpfxy290hh/tmptt36x_ri.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfxy290hh/tmptt36x_ri.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 891s # Return code: 0 891s # Output: 891s # /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifndef __STDOUT__ 891s # #define __STDOUT__ 891s # 891s # #include 891s # 891s # G_BEGIN_DECLS 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # /* Declarations for FDPassing */ 891s # 891s # #define TYPE_FDPASSING (fdpassing_get_type ()) 891s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 891s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 891s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 891s # 891s # struct _FDPassing; 891s # typedef struct _FDPassing FDPassing; 891s # typedef struct _FDPassingIface FDPassingIface; 891s # 891s # struct _FDPassingIface 891s # { 891s # GTypeInterface parent_iface; 891s # 891s # gboolean (*handle_hello_fd) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *arg_greeting); 891s # 891s # gboolean (*handle_no_annotation) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale); 891s # 891s # gboolean (*handle_no_annotation_nested) ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # GVariant *arg_files); 891s # 891s # }; 891s # 891s # GType fdpassing_get_type (void) G_GNUC_CONST; 891s # 891s # GDBusInterfaceInfo *fdpassing_interface_info (void); 891s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 891s # 891s # 891s # /* D-Bus method call completion functions: */ 891s # void fdpassing_complete_hello_fd ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *response); 891s # 891s # void fdpassing_complete_no_annotation ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # GVariant *response, 891s # const gchar *response_locale); 891s # 891s # void fdpassing_complete_no_annotation_nested ( 891s # FDPassing *object, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list); 891s # 891s # 891s # 891s # /* D-Bus method calls: */ 891s # void fdpassing_call_hello_fd ( 891s # FDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GDBusCallFlags call_flags, 891s # gint timeout_msec, 891s # GUnixFDList *fd_list, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_hello_fd_finish ( 891s # FDPassing *proxy, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_hello_fd_sync ( 891s # FDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GDBusCallFlags call_flags, 891s # gint timeout_msec, 891s # GUnixFDList *fd_list, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_call_no_annotation ( 891s # FDPassing *proxy, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale, 891s # GDBusCallFlags call_flags, 891s # gint timeout_msec, 891s # GUnixFDList *fd_list, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_no_annotation_finish ( 891s # FDPassing *proxy, 891s # GVariant **out_response, 891s # gchar **out_response_locale, 891s # GUnixFDList **out_fd_list, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_no_annotation_sync ( 891s # FDPassing *proxy, 891s # GVariant *arg_greeting, 891s # const gchar *arg_greeting_locale, 891s # GDBusCallFlags call_flags, 891s # gint timeout_msec, 891s # GUnixFDList *fd_list, 891s # GVariant **out_response, 891s # gchar **out_response_locale, 891s # GUnixFDList **out_fd_list, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_call_no_annotation_nested ( 891s # FDPassing *proxy, 891s # GVariant *arg_files, 891s # GDBusCallFlags call_flags, 891s # gint timeout_msec, 891s # GUnixFDList *fd_list, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # 891s # gboolean fdpassing_call_no_annotation_nested_finish ( 891s # FDPassing *proxy, 891s # GUnixFDList **out_fd_list, 891s # GAsyncResult *res, 891s # GError **error); 891s # 891s # gboolean fdpassing_call_no_annotation_nested_sync ( 891s # FDPassing *proxy, 891s # GVariant *arg_files, 891s # GDBusCallFlags call_flags, 891s # gint timeout_msec, 891s # GUnixFDList *fd_list, 891s # GUnixFDList **out_fd_list, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 891s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 891s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 891s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 891s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 891s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 891s # 891s # typedef struct _FDPassingProxy FDPassingProxy; 891s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 891s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 891s # 891s # struct _FDPassingProxy 891s # { 891s # /*< private >*/ 891s # GDBusProxy parent_instance; 891s # FDPassingProxyPrivate *priv; 891s # }; 891s # 891s # struct _FDPassingProxyClass 891s # { 891s # GDBusProxyClass parent_class; 891s # }; 891s # 891s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 891s # #endif 891s # 891s # void fdpassing_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # FDPassing *fdpassing_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # FDPassing *fdpassing_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # void fdpassing_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data); 891s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error); 891s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error); 891s # 891s # 891s # /* ---- */ 891s # 891s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 891s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 891s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 891s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 891s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 891s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 891s # 891s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 891s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 891s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 891s # 891s # struct _FDPassingSkeleton 891s # { 891s # /*< private >*/ 891s # GDBusInterfaceSkeleton parent_instance; 891s # FDPassingSkeletonPrivate *priv; 891s # }; 891s # 891s # struct _FDPassingSkeletonClass 891s # { 891s # GDBusInterfaceSkeletonClass parent_class; 891s # }; 891s # 891s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 891s # 891s # #if GLIB_CHECK_VERSION(2, 44, 0) 891s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 891s # #endif 891s # 891s # FDPassing *fdpassing_skeleton_new (void); 891s # 891s # 891s # G_END_DECLS 891s # 891s # #endif /* __STDOUT__ */ 891s # Error: 891s 1..39 891s Running test "liststore-is-a" 892s # Executing: glib/performance-threaded.test 892s 2226 runs, min/avg/max = 0.432/0.449/0.641 ms 892s Running test "liststore-interface-peek" 893s 2758 runs, min/avg/max = 0.347/0.362/1.130 ms 893s Running test "liststore-interface-peek-same" 894s 2775 runs, min/avg/max = 0.347/0.360/0.768 ms 894s ok - glib/performance-threaded.test 894s # Running test: glib/thread-deprecated.test 894s TAP version 14 894s # random seed: R02S1c8984d513ed399be0cf7f342b25e4a6 894s 1..6 894s # Start of thread tests 894s ok 1 /thread/mutex 895s ok 2 /thread/static-rec-mutex 897s # Executing: glib/thread-deprecated.test 899s ok 3 /thread/static-private 899s # slow test /thread/static-private executed in 4.40 secs 902s # Executing: glib/thread-deprecated.test 904s ok 4 /thread/static-rw-lock 904s # slow test /thread/static-rw-lock executed in 5.00 secs 904s ok 5 /thread/once 907s # Executing: glib/thread-deprecated.test 912s # Executing: glib/thread-deprecated.test 914s ok - glib/thread-deprecated.test 914s # Running test: glib/deprecated-properties.test 914s ok 6 /thread/rerun-all 914s # slow test /thread/rerun-all executed in 10.02 secs 914s # End of thread tests 914s TAP version 14 914s # random seed: R02S4a1d3c208723792af005a005d8c66255 914s 1..3 914s # Start of deprecated-properties tests 914s ok 1 /deprecated-properties/construct 914s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 914s ok 2 /deprecated-properties/default-construct 914s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 914s ok 3 /deprecated-properties/set 914s # End of deprecated-properties tests 914s ok - glib/deprecated-properties.test 914s # Running test: glib/function-info.test 914s ok - glib/function-info.test 914s # Running test: glib/gdbus-sasl.test 914s ok - glib/gdbus-sasl.test 914s # Running test: glib/types.test 914s ok - glib/types.test 914s # Running test: glib/gapplication.test 914s TAP version 14 914s # random seed: R02S53fe84067fdd8581868bfd13cf94b1f3 914s 1..1 914s # Start of function-info tests 914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/home 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/cache 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_JVPB62/function-info/invoker/.dirs/system-config2 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/config 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_JVPB62/function-info/invoker/.dirs/system-data2 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/data 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/state 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_JVPB62/function-info/invoker/.dirs/runtime 914s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 914s # /function-info/invoker summary: Test preparing a function invoker 914s ok 1 /function-info/invoker 914s # End of function-info tests 914s TAP version 14 914s # random seed: R02Sb05362a33493f7430f54b7a5c7de0a3e 914s 1..1 914s # Start of gdbus tests 914s # Start of sasl tests 914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/home 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/cache 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/system-config2 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/config 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/system-data2 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/data 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/state 914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_UOSB62/gdbus/sasl/server/.dirs/runtime 914s # New handshake: EXTERNAL with incorrect initial response 914s # C:“AUTH EXTERNAL 30†914s # Expect: /^REJECTED.*$/ 914s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†914s # New handshake: EXTERNAL without initial response, failing to authenticate 914s # C:“AUTH EXTERNAL†914s # Expect: /^DATA$/ 914s # S:“DATA†914s # C:“DATA 30†914s # Expect: /^REJECTED.*$/ 914s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†914s # New handshake: EXTERNAL with initial response 914s # C:“AUTH EXTERNAL 31303030†914s # Expect: /^OK [0-9a-f]+$/ 914s # S:“OK 969768a9ec4db44b69033def68180e5b†914s # New handshake: EXTERNAL without initial response 914s # C:“AUTH EXTERNAL†914s # Expect: /^DATA$/ 914s # S:“DATA†914s # C:“DATA 31303030†914s # Expect: /^OK [0-9a-f]+$/ 914s # S:“OK 969768a9ec4db44b69033def68180e5b†914s # New handshake: EXTERNAL with empty authorization identity 914s # C:“AUTH EXTERNAL†914s # Expect: /^DATA$/ 914s # S:“DATA†914s # C:“DATA†914s # Expect: /^OK [0-9a-f]+$/ 914s # S:“OK 969768a9ec4db44b69033def68180e5b†914s # New handshake: EXTERNAL with empty authorization identity and whitespace 914s # C:“AUTH EXTERNAL†914s # Expect: /^DATA$/ 914s # S:“DATA†914s # C:“DATA †914s # Expect: /^OK [0-9a-f]+$/ 914s # S:“OK 969768a9ec4db44b69033def68180e5b†914s ok 1 /gdbus/sasl/server 914s # End of sasl tests 914s # End of gdbus tests 914s TAP version 14 914s # random seed: R02S6d0dcdf7ee68f1ee766bf14838e0f9da 914s 1..1 914s # Start of types tests 914s ok 1 /types/basic_types 914s # End of types tests 914s TAP version 14 914s # random seed: R02S177ef24cdfc49ca90b29cfe067d1483f 914s 1..24 914s # Start of gapplication tests 914s ok 1 /gapplication/no-dbus 914s ok 2 /gapplication/no-appid 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s ok 3 /gapplication/properties 914s ok 4 /gapplication/app-id 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s ok 5 /gapplication/quit 914s ok 6 /gapplication/registered 914s ok 7 /gapplication/local-actions 914s ok 8 /gapplication/local-command-line 914s ok 9 /gapplication/resource-path 914s ok 10 /gapplication/test-help 914s ok 11 /gapplication/command-line-done 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s ok 12 /gapplication/test-busy 914s ok 13 /gapplication/test-handle-local-options1 914s ok 14 /gapplication/test-handle-local-options2 914s ok 15 /gapplication/test-handle-local-options3 914s ok 16 /gapplication/api 914s ok 17 /gapplication/version 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # launching subprocess 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s ok 18 /gapplication/replace 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # launching subprocess 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s ok 19 /gapplication/no-replace 915s # slow test /gapplication/no-replace executed in 0.51 secs 915s # Start of dbus tests 915s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 915s # Message 0 915s # Message 1 915s # Message 2 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s ok 20 /gapplication/dbus/activate 915s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 915s # Message 0 915s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 915s # Message 1 915s # Message 2 915s # Message 3 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s ok 21 /gapplication/dbus/open 915s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 915s # Message 0 915s # Message 1 915s # Message 2 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s ok 22 /gapplication/dbus/command-line 915s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s ok 23 /gapplication/dbus/command-line-done 915s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 915s # Message 0 915s # Message 1 915s # Message 2 915s # Message 3 915s ok - glib/gapplication.test 915s # Running test: glib/cxx-2b.test 915s ok - glib/cxx-2b.test 915s # Running test: glib/gobject-query.py.test 915s # Message 4 915s # Message 5 915s # Message 6 915s # Message 7 915s # Message 8 915s # Message 9 915s # Message 10 915s # Message 11 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 915s ok 24 /gapplication/dbus/activate-action 915s # End of dbus tests 915s # End of gapplication tests 915s TAP version 14 915s # random seed: R02Sb41180172288f61a719b69c0cadc5544 915s 1..2 915s # Start of gtask tests 915s # 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. 915s ok 1 /gtask/name 915s # Start of name tests 915s # 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. 915s ok 2 /gtask/name/macro-wrapper 915s # End of name tests 915s # End of gtask tests 915s TAP version 13 915s ok 1 __main__.TestGobjectQuery.test_froots 915s # gobject-query: /usr/bin/gobject-query 915s # tmpdir: /tmp/tmpbn6ak8yn 915s # Running: ['/usr/bin/gobject-query', 'froots'] 915s # Return code: 0 915s # Output: 915s # ├void 915s # ├GInterface 915s # │ â””GTypePlugin 915s # ├gchar 915s # ├guchar 915s # ├gboolean 915s # ├gint 915s # ├guint 915s # ├glong 915s # ├gulong 915s # ├gint64 915s # ├guint64 915s # ├GEnum 915s # ├GFlags 915s # ├gfloat 915s # ├gdouble 915s # ├gchararray 915s # ├gpointer 915s # │ â””GType 915s # ├GBoxed 915s # │ â””GValueArray 915s # ├GParam 915s # │ ├GParamChar 915s # │ ├GParamUChar 915s # │ ├GParamBoolean 915s # │ ├GParamInt 915s # │ ├GParamUInt 915s # │ ├GParamLong 915s # │ ├GParamULong 915s # │ ├GParamInt64 915s # │ ├GParamUInt64 915s # │ ├GParamUnichar 915s # │ ├GParamEnum 915s # │ ├GParamFlags 915s # │ ├GParamFloat 915s # │ ├GParamDouble 915s # │ ├GParamString 915s # │ ├GParamParam 915s # │ ├GParamBoxed 915s # │ ├GParamPointer 915s # │ ├GParamValueArray 915s # │ ├GParamObject 915s # │ ├GParamOverride 915s # │ ├GParamGType 915s # │ â””GParamVariant 915s # ├GObject 915s # â””GVariant 915s # Error: 915s ok 2 __main__.TestGobjectQuery.test_help 915s # gobject-query: /usr/bin/gobject-query 915s # tmpdir: /tmp/tmpicog3g0n 915s # Running: ['/usr/bin/gobject-query', '--help'] 915s # Return code: 0 915s # Output: 915s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 915s # -r specify root type 915s # -n don't descend type tree 915s # -h show help 915s # -b specify indent string 915s # -i specify incremental indent string 915s # -s specify line spacing 915s # qualifiers: 915s # froots iterate over fundamental roots 915s # tree print type tree 915s # Error: 915s ok 3 __main__.TestGobjectQuery.test_tree 915s # gobject-query: /usr/bin/gobject-query 915s # tmpdir: /tmp/tmpli128tr0 915s # Running: ['/usr/bin/gobject-query', 'tree'] 915s # Return code: 0 915s # Output: 915s # GObject 915s # Error: 915s ok 4 __main__.TestGobjectQuery.test_version 915s # gobject-query: /usr/bin/gobject-query 915s # tmpdir: /tmp/tmpsx__tvvv 915s # Running: ['/usr/bin/gobject-query', '--version'] 915s # Return code: 0 915s # Output: 915s # 2.84.1 915s # Error: 915s 1..4 915s ok - glib/gobject-query.py.test 915s # Running test: glib/network-address.test 915s TAP version 14 915s # random seed: R02S0861032191c316d5ac9de325a0a1a297 915s 1..72 915s # Start of network-address tests 915s ok 1 /network-address/basic 915s ok 2 /network-address/scope-id 915s ok 3 /network-address/uri-scope-id 915s ok 4 /network-address/to-string 915s # Start of parse-host tests 915s ok 5 /network-address/parse-host/0 915s ok 6 /network-address/parse-host/1 915s ok 7 /network-address/parse-host/2 915s ok 8 /network-address/parse-host/3 915s ok 9 /network-address/parse-host/4 915s ok 10 /network-address/parse-host/5 915s ok 11 /network-address/parse-host/6 915s ok 12 /network-address/parse-host/7 915s ok 13 /network-address/parse-host/8 915s ok 14 /network-address/parse-host/9 915s ok 15 /network-address/parse-host/10 915s ok 16 /network-address/parse-host/11 915s ok 17 /network-address/parse-host/12 915s ok 18 /network-address/parse-host/13 915s # End of parse-host tests 915s # Start of parse-uri tests 915s ok 19 /network-address/parse-uri/0 915s ok 20 /network-address/parse-uri/1 915s ok 21 /network-address/parse-uri/2 915s ok 22 /network-address/parse-uri/3 915s ok 23 /network-address/parse-uri/4 915s ok 24 /network-address/parse-uri/5 915s ok 25 /network-address/parse-uri/6 915s ok 26 /network-address/parse-uri/7 915s ok 27 /network-address/parse-uri/8 915s ok 28 /network-address/parse-uri/9 915s # End of parse-uri tests 915s # Start of resolve-address tests 915s # Input: 192.168.1.2 915s ok 29 /network-address/resolve-address/0 915s # Input: fe80::42 915s ok 30 /network-address/resolve-address/1 915s # Input: 192.168.1.2:80 915s ok 31 /network-address/resolve-address/2 915s # Input: [fe80::42] 915s ok 32 /network-address/resolve-address/3 915s # Input: [fe80::42]:80 915s ok 33 /network-address/resolve-address/4 915s # Input: 192.168.258 915s ok 34 /network-address/resolve-address/5 915s # Input: 192.11010306 915s ok 35 /network-address/resolve-address/6 915s # Input: 3232235778 915s ok 36 /network-address/resolve-address/7 915s # Input: 0300.0250.0001.0001 915s ok 37 /network-address/resolve-address/8 915s # Input: 0xC0.0xA8.0x01.0x02 915s ok 38 /network-address/resolve-address/9 915s # Input: 0xc0.0xa8.0x01.0x02 915s ok 39 /network-address/resolve-address/10 915s # Input: 0xc0a80102 915s ok 40 /network-address/resolve-address/11 915s # End of resolve-address tests 915s # Start of loopback tests 915s ok 41 /network-address/loopback/basic 915s ok 42 /network-address/loopback/sync 915s ok 43 /network-address/loopback/async 915s # End of loopback tests 915s # Start of localhost tests 915s ok 44 /network-address/localhost/async 915s ok 45 /network-address/localhost/sync 915s # End of localhost tests 915s # Start of happy-eyeballs tests 915s ok 46 /network-address/happy-eyeballs/basic 915s ok 47 /network-address/happy-eyeballs/parallel 915s ok 48 /network-address/happy-eyeballs/slow-ipv4 915s ok 49 /network-address/happy-eyeballs/slow-ipv6 915s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 916s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 916s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 916s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 916s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 916s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 916s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 916s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 916s # /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. 916s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 916s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 916s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 916s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 916s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 916s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 916s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 916s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 916s ok 57 /network-address/happy-eyeballs/both-error 916s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 916s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 916s ok 58 /network-address/happy-eyeballs/both-error-delays-1 916s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 916s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 916s ok 59 /network-address/happy-eyeballs/both-error-delays-2 916s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 916s ok 60 /network-address/happy-eyeballs/both-error-delays-3 916s # End of happy-eyeballs tests 916s # End of network-address tests 916s # Start of gresolver tests 916s # Start of resolve-address tests 916s # Input: 192.168.1.2 916s ok 61 /gresolver/resolve-address/0 916s # Input: fe80::42 916s ok 62 /gresolver/resolve-address/1 916s # Input: 192.168.1.2:80 916s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 916s ok 63 /gresolver/resolve-address/2 916s # Input: [fe80::42] 916s # Error: Error resolving ?[fe80::42]?: Name or service not known 916s ok 64 /gresolver/resolve-address/3 916s # Input: [fe80::42]:80 916s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 916s ok 65 /gresolver/resolve-address/4 916s # Input: 192.168.258 916s ok - glib/network-address.test 916s # Running test: glib/object-info.test 916s # Error: Error resolving ?192.168.258?: Name or service not known 916s ok 66 /gresolver/resolve-address/5 916s # Input: 192.11010306 916s # Error: Error resolving ?192.11010306?: Name or service not known 916s ok 67 /gresolver/resolve-address/6 916s # Input: 3232235778 916s # Error: Error resolving ?3232235778?: Name or service not known 916s ok 68 /gresolver/resolve-address/7 916s # Input: 0300.0250.0001.0001 916s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 916s ok 69 /gresolver/resolve-address/8 916s # Input: 0xC0.0xA8.0x01.0x02 916s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 916s ok 70 /gresolver/resolve-address/9 916s # Input: 0xc0.0xa8.0x01.0x02 916s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 916s ok 71 /gresolver/resolve-address/10 916s # Input: 0xc0a80102 916s # Error: Error resolving ?0xc0a80102?: Name or service not known 916s ok 72 /gresolver/resolve-address/11 916s # End of resolve-address tests 916s # End of gresolver tests 916s TAP version 14 916s # random seed: R02S0c214e1eaf4daed3895fd6b9e5359bd2 916s 1..2 916s # Start of object-info tests 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_Q1TU52/object-info/find-method-using-interfaces/.dirs/runtime 916s ok - glib/object-info.test 916s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 916s ok 1 /object-info/find-method-using-interfaces 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_Q1TU52/object-info/find-vfunc-using-interfaces/.dirs/runtime 916s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 916s ok 2 /object-info/find-vfunc-using-interfaces 916s # End of object-info tests 916s # Running test: glib/bytes.test 916s TAP version 14 916s # random seed: R02Scb31bc658f8e58afde8e64298f0161f9 916s 1..21 916s # Start of bytes tests 916s ok 1 /bytes/new 916s ok 2 /bytes/new-take 916s ok 3 /bytes/new-static 916s ok 4 /bytes/new-with-free-func 916s ok 5 /bytes/new-from-bytes 916s ok 6 /bytes/new-from-bytes-slice 916s ok 7 /bytes/new-from-bytes-shared-ref 916s ok 8 /bytes/hash 916s ok 9 /bytes/equal 916s ok 10 /bytes/compare 916s ok 11 /bytes/null 916s ok 12 /bytes/get-region 916s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 916s ok 13 /bytes/unref-null 916s # Start of to-data tests 916s ok 14 /bytes/to-data/transferred 916s ok 15 /bytes/to-data/two-refs 916s ok 16 /bytes/to-data/non-malloc 916s ok 17 /bytes/to-data/different-free-func 916s # End of to-data tests 916s # Start of to-array tests 916s ok 18 /bytes/to-array/transferred 916s ok 19 /bytes/to-array/two-refs 916s ok 20 /bytes/to-array/non-malloc 916s # Start of transferred tests 916s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 916s ok 21 /bytes/to-array/transferred/oversize 916s # End of transferred tests 916s # End of to-array tests 916s # End of bytes tests 916s ok - glib/bytes.test 916s # Running test: glib/private.test 916s TAP version 14 916s # random seed: R02S7bfe5e0fe5a189645cd2310d5ab94f6e 916s 1..8 916s # Start of thread tests 916s ok 1 /thread/private1 917s # Executing: glib/private.test 917s ok 2 /thread/private2 917s # slow test /thread/private2 executed in 1.08 secs 917s ok 3 /thread/private3 917s ok 4 /thread/staticprivate1 917s ok 5 /thread/staticprivate2 917s ok 6 /thread/staticprivate3 918s ok 7 /thread/staticprivate4 918s # slow test /thread/staticprivate4 executed in 1.08 secs 918s ok 8 /thread/staticprivate5 918s # End of thread tests 918s ok - glib/private.test 918s # Running test: glib/keyfile.test 918s TAP version 14 918s # random seed: R02S6964f775d05d5a4638ce92081da90f34 918s 1..36 918s # Start of keyfile tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/line-ends/.dirs/runtime 918s ok 1 /keyfile/line-ends 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/whitespace/.dirs/runtime 918s ok 2 /keyfile/whitespace 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/comments/.dirs/runtime 918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 918s ok 3 /keyfile/comments 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/listing/.dirs/runtime 918s ok 4 /keyfile/listing 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/string/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/string/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/string/.dirs/runtime 918s ok 5 /keyfile/string 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/boolean/.dirs/runtime 918s ok 6 /keyfile/boolean 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/number/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/number/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/number/.dirs/runtime 918s ok 7 /keyfile/number 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/locale-string/.dirs/runtime 918s ok 8 /keyfile/locale-string 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/lists/.dirs/runtime 918s ok 9 /keyfile/lists 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/lists-set-get/.dirs/runtime 918s ok 10 /keyfile/lists-set-get 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/group-remove/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 918s ok 11 /keyfile/group-remove 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/key-remove/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 918s ok 12 /keyfile/key-remove 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/groups/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 918s ok 13 /keyfile/groups 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/duplicate-keys/.dirs/runtime 918s ok 14 /keyfile/duplicate-keys 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 918s ok 15 /keyfile/duplicate-groups 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/duplicate-groups2/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 918s ok 16 /keyfile/duplicate-groups2 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/group-names/.dirs/runtime 918s ok 17 /keyfile/group-names 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/key-names/.dirs/runtime 918s ok 18 /keyfile/key-names 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/reload/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 918s ok 19 /keyfile/reload 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/int64/.dirs/runtime 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 918s ok 20 /keyfile/int64 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/load/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/load/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/load/.dirs/runtime 918s ok 21 /keyfile/load 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/save/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/save/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/save/.dirs/runtime 918s ok 22 /keyfile/save 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/load-fail/.dirs/runtime 918s ok 23 /keyfile/load-fail 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/non-utf8/.dirs/runtime 919s ok 24 /keyfile/non-utf8 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/page-boundary/.dirs/runtime 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 919s ok 25 /keyfile/page-boundary 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/ref/.dirs/runtime 919s ok 26 /keyfile/ref 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/replace-value/.dirs/runtime 919s ok 27 /keyfile/replace-value 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/list-separator/.dirs/runtime 919s ok 28 /keyfile/list-separator 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/empty-string/.dirs/runtime 919s ok 29 /keyfile/empty-string 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/limbo/.dirs/runtime 919s ok 30 /keyfile/limbo 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/utf8/.dirs/runtime 919s # Testing invalid encoding ?non-UTF-8? 919s # Testing invalid encoding ?UTF? 919s # Testing invalid encoding ?UTF-9? 919s ok 31 /keyfile/utf8 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/roundtrip/.dirs/runtime 919s ok 32 /keyfile/roundtrip 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/bytes/.dirs/runtime 919s ok 33 /keyfile/bytes 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/get-locale/.dirs/runtime 919s ok 34 /keyfile/get-locale 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/state 919s ok - glib/keyfile.test 919s # Running test: glib/g-icon.test 919s ok - glib/g-icon.test 919s # Running test: glib/debugcontroller.test 919s ok - glib/debugcontroller.test 919s # Running test: glib/utils.test 919s ok - glib/utils.test 919s # Running test: glib/gdbus-connection-loss.test 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/free-when-not-last-ref/.dirs/runtime 919s ok 35 /keyfile/free-when-not-last-ref 919s # Start of locale-string tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_R8LY52/keyfile/locale-string/multiple-loads/.dirs/runtime 919s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 919s ok 36 /keyfile/locale-string/multiple-loads 919s # End of locale-string tests 919s # End of keyfile tests 919s TAP version 14 919s # random seed: R02S9bbc054b544df99192d02df01bc1e852 919s 1..6 919s # Start of icons tests 919s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 919s ok 1 /icons/to-string 919s ok 2 /icons/serialize 919s ok 3 /icons/themed 919s ok 4 /icons/emblemed 919s ok 5 /icons/file 919s ok 6 /icons/bytes 919s # End of icons tests 919s TAP version 14 919s # random seed: R02S8413d45867cd7a1467aa07bdc23c0036 919s 1..3 919s # Start of debug-controller tests 919s # Start of dbus tests 919s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 919s # GLib-GIO-DEBUG: Debug output enabled 919s # GLib-GIO-DEBUG: Debug output disabled 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s ok 1 /debug-controller/dbus/basic 919s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s ok 2 /debug-controller/dbus/duplicate 919s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 919s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 919s # End of dbus tests 919s # End of debug-controller tests 919s TAP version 14 919s # random seed: R02S262a281bfe2b8dc501d3dfe1837bb6ff 919s 1..41 919s # Start of utils tests 919s ok 1 /utils/language-names 919s ok 2 /utils/locale-variants 919s ok 3 /utils/version 919s ok 4 /utils/appname 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 919s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 919s ok 5 /utils/prgname-thread-safety 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 919s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 919s ok 6 /utils/tmpdir 919s ok 7 /utils/basic_bits 919s ok 8 /utils/bits 919s ok 9 /utils/swap 919s ok 10 /utils/find-program 919s ok 11 /utils/find-program-for-path 919s ok 12 /utils/debug 919s ok 13 /utils/codeset 919s ok 14 /utils/codeset2 919s ok 15 /utils/console-charset 919s ok 16 /utils/gettext 919s ok 17 /utils/username 919s ok 18 /utils/realname 919s ok 19 /utils/hostname 919s ok 20 /utils/xdgdirs 919s ok 21 /utils/specialdir 919s # NAME: Ubuntu 919s ok 22 /utils/os-info 919s ok 23 /utils/clear-pointer 919s ok 24 /utils/clear-pointer-cast 919s ok 25 /utils/take-pointer 919s ok 26 /utils/clear-source 919s ok 27 /utils/misc-mem 919s # /utils/aligned-mem summary: Aligned memory allocator 919s # Alignment must not be zero 919s # Alignment must be a power of two 919s # Alignment must be a multiple of sizeof(void*) 919s ok 28 /utils/aligned-mem 919s # /utils/free-sized summary: Check that g_free_sized() works 919s ok 29 /utils/free-sized 919s ok 30 /utils/nullify 919s ok 31 /utils/atexit 919s ok 32 /utils/check-setuid 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 919s ok 33 /utils/int-limits 919s ok 34 /utils/clear-list 919s ok 35 /utils/clear-slist 919s ok 36 /utils/steal-handle-id 919s # Start of specialdir tests 919s ok 37 /utils/specialdir/desktop 919s # End of specialdir tests 919s # Start of clear-pointer tests 919s ok 38 /utils/clear-pointer/side-effects 919s # End of clear-pointer tests 919s # Start of aligned-mem tests 919s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 919s ok 39 /utils/aligned-mem/alignment 919s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 919s ok 40 /utils/aligned-mem/zeroed 919s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 919s ok 41 /utils/aligned-mem/free-sized 919s # Start of subprocess tests 919s # End of subprocess tests 919s # End of aligned-mem tests 919s # End of utils tests 919s TAP version 14 919s # random seed: R02S9d7eedbfc977e73b4f3f951bc9356f78 919s 1..1 919s # Start of gdbus tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_T9W152/gdbus/connection-loss/.dirs/runtime 919s ok 1 /gdbus/connection-loss 919s # End of gdbus tests 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s ok - glib/gdbus-connection-loss.test 919s # Running test: glib/type.test 919s TAP version 14 919s # random seed: R02S7cc6b3b3ed48336cce824a06582b6039 919s 1..6 919s # Start of type tests 919s ok 1 /type/registration-serial 919s ok 2 /type/interface-prerequisite 919s ok 3 /type/interface-check 919s ok 4 /type/next-base 919s ok 5 /type/is-a 919s # Invalid types can?t be queried. 919s # Unclassed types can?t be queried. 919s ok 6 /type/query 919s # End of type tests 919s ok - glib/type.test 919s # Running test: glib/pattern.test 919s TAP version 14 919s # random seed: R02S722509999ffb6b79fd20c6d7a7244e54 919s 1..90 919s # Start of pattern tests 919s # Start of compile tests 919s ok 1 /pattern/compile/0 919s ok 2 /pattern/compile/1 919s ok 3 /pattern/compile/2 919s ok 4 /pattern/compile/3 919s ok 5 /pattern/compile/4 919s ok 6 /pattern/compile/5 919s ok 7 /pattern/compile/6 919s ok 8 /pattern/compile/7 919s ok 9 /pattern/compile/8 919s ok 10 /pattern/compile/9 919s ok 11 /pattern/compile/10 919s ok 12 /pattern/compile/11 919s ok 13 /pattern/compile/12 919s ok 14 /pattern/compile/13 919s # End of compile tests 919s # Start of copy tests 919s ok 15 /pattern/copy/0 919s ok 16 /pattern/copy/1 919s ok 17 /pattern/copy/2 919s ok 18 /pattern/copy/3 919s ok 19 /pattern/copy/4 919s ok 20 /pattern/copy/5 919s ok 21 /pattern/copy/6 919s ok 22 /pattern/copy/7 919s ok 23 /pattern/copy/8 919s ok 24 /pattern/copy/9 919s ok 25 /pattern/copy/10 919s ok 26 /pattern/copy/11 919s ok 27 /pattern/copy/12 919s ok 28 /pattern/copy/13 919s # End of copy tests 919s # Start of match tests 919s ok 29 /pattern/match/0 919s ok 30 /pattern/match/1 919s ok 31 /pattern/match/2 919s ok 32 /pattern/match/3 919s ok 33 /pattern/match/4 919s ok 34 /pattern/match/5 919s ok 35 /pattern/match/6 919s ok 36 /pattern/match/7 919s ok 37 /pattern/match/8 919s ok 38 /pattern/match/9 919s ok 39 /pattern/match/10 919s ok 40 /pattern/match/11 919s ok 41 /pattern/match/12 919s ok 42 /pattern/match/13 919s ok 43 /pattern/match/14 919s ok 44 /pattern/match/15 919s ok 45 /pattern/match/16 919s ok 46 /pattern/match/17 919s ok 47 /pattern/match/18 919s ok 48 /pattern/match/19 919s ok 49 /pattern/match/20 919s ok 50 /pattern/match/21 919s ok 51 /pattern/match/22 919s ok 52 /pattern/match/23 919s ok 53 /pattern/match/24 919s ok 54 /pattern/match/25 919s ok 55 /pattern/match/26 919s ok 56 /pattern/match/27 919s ok 57 /pattern/match/28 919s ok 58 /pattern/match/29 919s ok 59 /pattern/match/30 919s ok 60 /pattern/match/31 919s ok 61 /pattern/match/32 919s ok 62 /pattern/match/33 919s ok 63 /pattern/match/34 919s ok 64 /pattern/match/35 919s ok 65 /pattern/match/36 919s ok 66 /pattern/match/37 919s ok 67 /pattern/match/38 919s ok 68 /pattern/match/39 919s ok 69 /pattern/match/40 919s ok 70 /pattern/match/41 919s ok 71 /pattern/match/42 919s ok 72 /pattern/match/43 919s ok 73 /pattern/match/44 919s ok 74 /pattern/match/45 919s ok 75 /pattern/match/46 919s ok 76 /pattern/match/47 919s ok 77 /pattern/match/48 919s ok 78 /pattern/match/49 919s ok 79 /pattern/match/50 919s # End of match tests 919s # Start of equal tests 919s ok 80 /pattern/equal/0 919s ok 81 /pattern/equal/1 919s ok 82 /pattern/equal/2 919s ok 83 /pattern/equal/3 919s ok 84 /pattern/equal/4 919s ok 85 /pattern/equal/5 919s ok 86 /pattern/equal/6 919s ok 87 /pattern/equal/7 919s ok 88 /pattern/equal/8 919s ok 89 /pattern/equal/9 919s ok 90 /pattern/equal/10 919s # End of equal tests 919s # End of pattern tests 919s ok - glib/pattern.test 919s # Running test: glib/1bit-mutex.test 919s TAP version 14 919s # random seed: R02Sf33d6bba6bb5c436d6222c50e4bda173 919s 1..2 919s # Start of glib tests 919s # Start of 1bit-mutex tests 922s # Executing: glib/1bit-mutex.test 924s ok 1 /glib/1bit-mutex/int 924s # slow test /glib/1bit-mutex/int executed in 5.39 secs 927s # Executing: glib/1bit-mutex.test 930s ok 2 /glib/1bit-mutex/pointer 930s ok - glib/1bit-mutex.test 930s # Running test: glib/gdbus-message.test 930s # slow test /glib/1bit-mutex/pointer executed in 5.53 secs 930s # End of 1bit-mutex tests 930s # End of glib tests 930s TAP version 14 930s # random seed: R02S9a8252a88c36ccf9c400cb3926e2962c 930s 1..3 930s # Start of gdbus tests 930s # Start of message tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2B6252/gdbus/message/lock/.dirs/runtime 930s ok 1 /gdbus/message/lock 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2B6252/gdbus/message/copy/.dirs/runtime 930s ok 2 /gdbus/message/copy 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/config 930s ok - glib/gdbus-message.test 930s # Running test: glib/binding.test 930s ok - glib/binding.test 930s # Running test: glib/gdbus-connection-slow.test 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2B6252/gdbus/message/bytes-needed/.dirs/runtime 930s # Vector: 0 930s # Vector: 1 930s # Vector: 2 930s # Vector: 3 930s # Vector: 4 930s # Vector: 5 930s ok 3 /gdbus/message/bytes-needed 930s # End of message tests 930s # End of gdbus tests 930s TAP version 14 930s # random seed: R02S28952e7c075dbe757b7c873c169fa2bf 930s 1..19 930s # Start of binding tests 930s ok 1 /binding/default 930s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 930s ok 2 /binding/canonicalisation 930s ok 3 /binding/bidirectional 930s ok 4 /binding/transform 930s ok 5 /binding/transform-default 930s ok 6 /binding/transform-closure 930s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 930s ok 7 /binding/chain 930s ok 8 /binding/sync-create 930s ok 9 /binding/invert-boolean 930s ok 10 /binding/same-object 930s ok 11 /binding/unbind 930s ok 12 /binding/unbind-weak 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 930s ok 13 /binding/unbind-multiple 930s ok 14 /binding/fail 930s ok 15 /binding/interface 930s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 930s ok 16 /binding/concurrent-unbind 930s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 930s ok 17 /binding/concurrent-finalizing 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 930s ok 18 /binding/dispose-source 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 930s ok 19 /binding/dispose-target 930s # End of binding tests 930s TAP version 14 930s # random seed: R02S75121527a167234ff073882256072751 930s 1..2 930s # Start of gdbus tests 930s # Start of connection tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/flush/.dirs/runtime 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s ok 1 /gdbus/connection/flush 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_DW2352/gdbus/connection/large_message/.dirs/runtime 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s ok 2 /gdbus/connection/large_message 930s # End of connection tests 930s # End of gdbus tests 930s ok - glib/gdbus-connection-slow.test 930s # Running test: glib/642026.test 930s TAP version 14 930s # random seed: R02Sb64ab6a5906f248a39e5dfe17c49251c 930s 1..1 930s # Start of glib tests 930s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 930s ok 1 /glib/642026 930s # End of glib tests 930s ok - glib/642026.test 930s # Running test: glib/charset.test 930s TAP version 14 930s # random seed: R02Sdcea509ebc934d7cfccdbf676f66944f 930s 1..2 930s # Start of charset tests 930s # Test 0 930s # Test 1 930s # Test 2 930s # Test 3 930s ok 1 /charset/language_names_with_category 930s ok 2 /charset/language_names_with_category_async 930s # End of charset tests 930s ok - glib/charset.test 930s # Running test: glib/gdbus-proxy-threads.test 930s TAP version 14 930s # random seed: R02S31b0afd1f96e915584a17c20d474f2e4 930s 1..1 930s # Start of gdbus tests 930s # Start of proxy tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_FDOS52/gdbus/proxy/vs-threads/.dirs/runtime 932s # Executing: glib/gdbus-proxy-threads.test 932s ok 1 /gdbus/proxy/vs-threads 932s # slow test /gdbus/proxy/vs-threads executed in 2.15 secs 932s # End of proxy tests 932s # End of gdbus tests 932s ok - glib/gdbus-proxy-threads.test 932s cleaning up pid 11402 932s # Running test: glib/converter-stream.test 932s TAP version 14 932s # random seed: R02Sa5fee24309de250db8fc07061884ccac 932s 1..17 932s # Start of converter tests 932s ok 1 /converter/basics 932s # End of converter tests 932s # Start of converter-input-stream tests 932s ok 2 /converter-input-stream/expander 932s ok 3 /converter-input-stream/compressor 932s # Start of truncation tests 933s ok 4 /converter-input-stream/truncation/zlib 933s ok 5 /converter-input-stream/truncation/gzip 933s ok 6 /converter-input-stream/truncation/raw 933s # End of truncation tests 933s # Start of charset tests 933s ok 7 /converter-input-stream/charset/utf8->latin1 933s ok 8 /converter-input-stream/charset/latin1->utf8 933s ok 9 /converter-input-stream/charset/fallbacks 933s # End of charset tests 933s # End of converter-input-stream tests 933s # Start of converter-output-stream tests 933s # Start of roundtrip tests 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 933s ok 10 /converter-output-stream/roundtrip/zlib-0 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 933s ok 11 /converter-output-stream/roundtrip/zlib-9 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 933s ok 12 /converter-output-stream/roundtrip/gzip-0 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 934s ok 13 /converter-output-stream/roundtrip/gzip-9 934s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 934s ok 14 /converter-output-stream/roundtrip/raw-0 934s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 934s ok 15 /converter-output-stream/roundtrip/raw-9 934s # End of roundtrip tests 934s # End of converter-output-stream tests 934s # Start of converter-stream tests 934s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 934s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x92e129cf5b0 and GSocketClientAsyncConnectData 0x92e129cc3e0 934s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 934s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 934s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x92e125df9f0 for GSocketClientAsyncConnectData 0x92e129cc3e0 934s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 934s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 934s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 934s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 934s ok 16 /converter-stream/pollable 934s ok 17 /converter-stream/leftover 934s # End of converter-stream tests 934s ok - glib/converter-stream.test 934s # Running test: glib/signals-refcount1.test 934s TAP version 14 934s # random seed: R02Sb024a4c94d5a2ef7420b39c5a5ec7753 934s 1..1 934s # Start of gobject tests 934s # Start of refcount tests 934s # init 0x186b15f4ddd0 934s # 934s # init 0x186b15f4a310 934s # 937s # Executing: glib/signals-refcount1.test 939s # dispose 0x186b15f4ddd0! 939s # 939s # dispose 0x186b15f4a310! 939s # 939s ok 1 /gobject/refcount/signals 939s # slow test /gobject/refcount/signals executed in 5.00 secs 939s # End of refcount tests 939s # End of gobject tests 939s ok - glib/signals-refcount1.test 939s # Running test: glib/hook.test 939s TAP version 14 939s # random seed: R02S510a5115a44a1fb3f5e14692a202c693 939s 1..2 939s # Start of hook tests 939s ok - glib/hook.test 939s # Running test: glib/task.test 939s ok 1 /hook/basics 939s ok 2 /hook/corner-cases 939s # End of hook tests 939s TAP version 14 939s # random seed: R02Scd85bbe9cb6bdb50fa932488b3aa88ab 939s 1..36 939s # Start of gtask tests 939s ok 1 /gtask/basic 939s ok 2 /gtask/error 939s ok 3 /gtask/error-literal 939s ok 4 /gtask/error-literal-from-variable 939s ok 5 /gtask/return-from-same-iteration 939s ok 6 /gtask/return-from-toplevel 939s ok 7 /gtask/return-from-anon-thread 939s ok 8 /gtask/return-from-wrong-thread 939s ok 9 /gtask/no-callback 939s ok 10 /gtask/report-error 939s ok 11 /gtask/priority 939s ok 12 /gtask/name 939s ok 13 /gtask/static-name 939s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 939s ok 14 /gtask/asynchronous-cancellation 939s ok 15 /gtask/check-cancellable 939s ok 16 /gtask/return-if-cancelled 939s ok 17 /gtask/run-in-thread 939s ok 18 /gtask/run-in-thread-sync 939s ok 19 /gtask/run-in-thread-priority 939s ok 20 /gtask/run-in-thread-nested 940s ok 21 /gtask/run-in-thread-overflow 940s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 940s # GLib-GIO-DEBUG: GTask 0xc19dd9c630 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 940s # GLib-GIO-DEBUG: GTask 0xc19dd9c7c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 940s ok 22 /gtask/return-on-cancel 940s # GLib-GIO-DEBUG: GTask 0xc19dd31da0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 940s # GLib-GIO-DEBUG: GTask 0xc19dd319e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 940s ok 23 /gtask/return-on-cancel-sync 940s ok 24 /gtask/return-on-cancel-atomic 940s ok 25 /gtask/return-pointer 940s ok 26 /gtask/return-value 940s ok 27 /gtask/return-prefixed-error 940s ok 28 /gtask/object-keepalive 940s ok 29 /gtask/legacy-error 940s ok 30 /gtask/finalize-without-return 940s # Start of name tests 940s ok 31 /gtask/name/macro-wrapper 940s # End of name tests 940s # Start of return tests 940s ok 32 /gtask/return/error-first 940s ok 33 /gtask/return/value-first 940s ok - glib/task.test 940s # Running test: glib/dbus-appinfo.test 940s # Start of in-idle tests 940s ok 34 /gtask/return/in-idle/error-first 940s ok 35 /gtask/return/in-idle/value-first 940s # End of in-idle tests 940s # End of return tests 940s # Start of attach-source tests 940s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 940s ok 36 /gtask/attach-source/set-name 940s # End of attach-source tests 940s # End of gtask tests 940s TAP version 14 940s # random seed: R02Sd23d587ad091b2aa349ee0a38358ecea 940s 1..7 940s # Start of appinfo tests 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/runtime 940s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 940s ok 1 /appinfo/dbusappinfo 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/runtime 940s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 940s # Acquired a message bus connection 940s # Acquired the name org.freedesktop.portal.Documents 940s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_BII952/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/config 940s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 940s # fake-document-portal cancelled 940s ok 2 /appinfo/flatpak-doc-export 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/runtime 940s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 940s # Acquired a message bus connection 940s # Acquired the name org.freedesktop.portal.Documents 940s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/config 940s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 940s # fake-document-portal cancelled 940s ok 3 /appinfo/flatpak-missing-doc-export 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/runtime 940s # Acquired a message bus connection 940s # Acquired the name org.freedesktop.portal.Desktop 940s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_BII952/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/config 940s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 940s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 940s # Response emitted 940s # fake-desktop-portal cancelled 940s ok 4 /appinfo/portal-open-file 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/runtime 940s # Acquired a message bus connection 940s # Acquired the name org.freedesktop.portal.Desktop 940s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/config 940s # Got open file request for http://example.com 940s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 940s # Response emitted 940s # fake-desktop-portal cancelled 940s ok 5 /appinfo/portal-open-uri 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/runtime 940s # Acquired a message bus connection 940s # Acquired the name org.freedesktop.portal.Desktop 940s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/config 940s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 940s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1709867843 940s # Response emitted 940s # fake-desktop-portal cancelled 940s ok 6 /appinfo/portal-open-file-async 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/runtime 940s # Acquired a message bus connection 940s # Acquired the name org.freedesktop.portal.Desktop 940s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_BII952/appinfo/portal-open-uri-async/.dirs/config 940s # Got open file request for http://example.com 940s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio23233458 940s # Response emitted 940s # fake-desktop-portal cancelled 940s ok 7 /appinfo/portal-open-uri-async 940s # End of appinfo tests 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s ok - glib/dbus-appinfo.test 940s # Running test: glib/option-context.test 940s TAP version 14 940s # random seed: R02Sacd807995b5733ded9a989b9f4b01acb 940s 1..58 940s # Start of option tests 940s ok 1 /option/basic 940s ok 2 /option/translate 940s ok 3 /option/strict-posix 940s # Start of help tests 940s ok 4 /option/help/options 940s ok 5 /option/help/no-options 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 940s ok 6 /option/help/no-help-options 940s ok - glib/option-context.test 940s # Running test: glib/filter-streams.test 940s # Usage: 940s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla 940s # 940s # Summary 940s # 940s # Help Options: 940s # -h, --help Show help options 940s # 940s # Application Options: 940s # -t, --test=Argument to use in test (deprecated) Test tests 940s # --test2 Tests also 940s # 940s # Description 940s # 940s ok 7 /option/help/deprecated 940s # End of help tests 940s # Start of group tests 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 940s ok 8 /option/group/captions 940s ok 9 /option/group/main 940s ok 10 /option/group/error-hook 940s ok 11 /option/group/parse 940s # Start of captions tests 940s # Start of subprocess tests 940s # End of subprocess tests 940s # End of captions tests 940s # End of group tests 940s # Start of restoration tests 940s ok 12 /option/restoration/int 940s ok 13 /option/restoration/string 940s ok 14 /option/restoration/boolean 940s # End of restoration tests 940s # Start of arg tests 940s ok 15 /option/arg/reverse-string 940s ok 16 /option/arg/optional-int 940s # Start of repetition tests 940s ok 17 /option/arg/repetition/int 940s ok 18 /option/arg/repetition/string 940s ok 19 /option/arg/repetition/filename 940s ok 20 /option/arg/repetition/double 940s ok 21 /option/arg/repetition/locale 940s ok 22 /option/arg/repetition/int64 940s # End of repetition tests 940s # Start of array tests 940s ok 23 /option/arg/array/string 940s # End of array tests 940s # Start of callback tests 940s ok 24 /option/arg/callback/string 940s ok 25 /option/arg/callback/count 940s ok 26 /option/arg/callback/optional1 940s ok 27 /option/arg/callback/optional2 940s ok 28 /option/arg/callback/optional3 940s ok 29 /option/arg/callback/optional4 940s ok 30 /option/arg/callback/optional5 940s ok 31 /option/arg/callback/optional6 940s ok 32 /option/arg/callback/optional7 940s ok 33 /option/arg/callback/optional8 940s # End of callback tests 940s # Start of remaining tests 940s ok 34 /option/arg/remaining/callback 940s ok 35 /option/arg/remaining/callback-false 940s ok 36 /option/arg/remaining/non-option 940s ok 37 /option/arg/remaining/separator 940s ok 38 /option/arg/remaining/array 940s # End of remaining tests 940s # Start of ignore tests 940s ok 39 /option/arg/ignore/long 940s ok 40 /option/arg/ignore/short 940s ok 41 /option/arg/ignore/arg 940s # End of ignore tests 940s # Start of rest tests 940s ok 42 /option/arg/rest/non-option 940s ok 43 /option/arg/rest/separator1 940s ok 44 /option/arg/rest/separator2 940s ok 45 /option/arg/rest/separator3 940s ok 46 /option/arg/rest/separator4 940s ok 47 /option/arg/rest/separator5 940s # End of rest tests 940s # End of arg tests 940s # Start of context tests 940s ok 48 /option/context/add 940s ok 49 /option/context/empty2 940s ok 50 /option/context/empty3 940s # End of context tests 940s # Start of bug tests 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 940s ok 51 /option/bug/unknown-short 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 940s ok 52 /option/bug/lonely-dash 940s ok 53 /option/bug/triple-dash 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 940s ok 54 /option/bug/missing-arg 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 940s ok 55 /option/bug/dash-arg 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 940s ok 56 /option/bug/short-remaining 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 940s ok 57 /option/bug/double-free 940s ok 58 /option/bug/double-zero 940s # End of bug tests 940s # End of option tests 940s TAP version 14 940s # random seed: R02S944f5431dd3a9256c8a8bf707fab096f 940s 1..4 940s # Start of filter-stream tests 940s ok - glib/filter-streams.test 940s # Running test: glib/accumulator.test 940s ok - glib/accumulator.test 940s # Running test: glib/error.test 940s ok - glib/error.test 940s # Running test: glib/onceinit.test 940s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 940s ok 1 /filter-stream/input 940s ok 2 /filter-stream/output 940s ok 3 /filter-stream/async-input 940s ok 4 /filter-stream/async-output 940s # End of filter-stream tests 940s TAP version 14 940s # random seed: R02Sd607502af919c510808fa03143ff921e 940s 1..1 940s # Start of gobject tests 940s ok 1 /gobject/accumulator 940s # End of gobject tests 940s TAP version 14 940s # random seed: R02S324526ccacdc6b2d3fc134ceaaa254a9 940s 1..3 940s # Start of error tests 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_0F9A62/error/from-errno/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_0F9A62/error/from-errno/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_0F9A62/error/from-errno/.dirs/system-config1:/tmp/test_error_0F9A62/error/from-errno/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_0F9A62/error/from-errno/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_0F9A62/error/from-errno/.dirs/system-data1:/tmp/test_error_0F9A62/error/from-errno/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_0F9A62/error/from-errno/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_0F9A62/error/from-errno/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_0F9A62/error/from-errno/.dirs/runtime 940s ok 1 /error/from-errno 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_0F9A62/error/from-file-error/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_0F9A62/error/from-file-error/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_0F9A62/error/from-file-error/.dirs/system-config1:/tmp/test_error_0F9A62/error/from-file-error/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_0F9A62/error/from-file-error/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_0F9A62/error/from-file-error/.dirs/system-data1:/tmp/test_error_0F9A62/error/from-file-error/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_0F9A62/error/from-file-error/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_0F9A62/error/from-file-error/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_0F9A62/error/from-file-error/.dirs/runtime 940s ok 2 /error/from-file-error 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/system-config1:/tmp/test_error_0F9A62/error/from-win32-error/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/system-data1:/tmp/test_error_0F9A62/error/from-win32-error/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_0F9A62/error/from-win32-error/.dirs/runtime 940s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 940s # End of error tests 940s TAP version 14 940s # random seed: R02Scabc3f4150de5e88cd9241646ef7ae4c 940s 1..1 940s # Start of thread tests 940s ok 1 /thread/onceinit 940s # End of thread tests 940s ok - glib/onceinit.test 940s # Running test: glib/defaultvalue.test 940s TAP version 14 940s # random seed: R02S44e4a750d0a91dbd502b65d6d7b240fa 940s 1..84 940s # Start of Default Values tests 940s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 940s ok 2 /Default Values/GAppLaunchContext 940s ok 3 /Default Values/GApplicationCommandLine 940s # skipping GApplication:is-remote 940s ok 4 /Default Values/GApplication 940s ok 5 /Default Values/GBinding # SKIP mandatory construct params 940s ok 6 /Default Values/GBindingGroup 940s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 940s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 940s ok 9 /Default Values/GBytesIcon 940s ok 10 /Default Values/GCancellable 940s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 940s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 940s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 940s ok 14 /Default Values/GCredentials 940s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 940s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 940s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 940s ok 18 /Default Values/GDBusAuthObserver 940s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 940s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 940s ok 21 /Default Values/GDBusMessage 940s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 940s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 940s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 940s ok 25 /Default Values/GDBusObjectProxy 940s ok 26 /Default Values/GDBusObjectSkeleton 940s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 940s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 940s ok 29 /Default Values/GEmblem 940s ok 30 /Default Values/GEmblemedIcon 940s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 940s ok 32 /Default Values/GFileInfo 940s ok 33 /Default Values/GFileInputStream 940s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 940s ok 35 /Default Values/GFileOutputStream 940s ok 36 /Default Values/GFilenameCompleter 940s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 940s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 940s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 940s ok 40 /Default Values/GInitiallyUnowned 940s ok 41 /Default Values/GIOModule 940s ok 42 /Default Values/GListStore 940s ok 43 /Default Values/GMemoryInputStream 940s ok 44 /Default Values/GMemoryOutputStream 940s ok 45 /Default Values/GMenu 940s ok 46 /Default Values/GMenuItem 940s ok 47 /Default Values/GMountOperation 940s ok 48 /Default Values/GNativeSocketAddress 940s ok 49 /Default Values/GNetworkAddress 940s ok 50 /Default Values/GNetworkService 940s ok 51 /Default Values/GNotification 940s ok 52 /Default Values/GObject 940s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 940s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 940s # skipping GProxyAddressEnumerator:proxy-resolver 940s ok 54 /Default Values/GProxyAddressEnumerator 940s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 940s ok 56 /Default Values/GSettings # SKIP mandatory construct params 940s ok 57 /Default Values/GSignalGroup 940s ok 58 /Default Values/GSimpleAction 940s ok 59 /Default Values/GSimpleActionGroup 940s ok 60 /Default Values/GSimpleAsyncResult 940s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 940s ok 62 /Default Values/GSimplePermission 940s ok 63 /Default Values/GSimpleProxyResolver 940s # skipping GSocketClient:proxy-resolver 940s ok 64 /Default Values/GSocketClient 940s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 940s ok 66 /Default Values/GSocket # SKIP initialization failed 940s ok 67 /Default Values/GSocketListener 940s ok 68 /Default Values/GSocketService 940s ok 69 /Default Values/GSubprocess # SKIP initialization failed 940s ok 70 /Default Values/GSubprocessLauncher 940s # GLib-GIO-DEBUG: GTask 0x589d115af30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 940s ok 71 /Default Values/GTask 940s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 940s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 940s ok 74 /Default Values/GTestDBus 940s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 940s ok 76 /Default Values/GThreadedSocketService 940s ok 77 /Default Values/GTlsInteraction 940s ok 78 /Default Values/GTlsPassword 940s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 940s ok 80 /Default Values/GUnixFDList 940s ok 81 /Default Values/GVfs 940s ok 82 /Default Values/GVolumeMonitor 940s ok 83 /Default Values/GZlibCompressor 940s ok 84 /Default Values/GZlibDecompressor 940s # End of Default Values tests 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s ok - glib/defaultvalue.test 940s # Running test: glib/gdatetime.test 940s TAP version 14 940s # random seed: R02Sa7380d33422b75fe63e07b2f123c59ab 940s 1..68 940s # Start of GDateTime tests 940s # Bug Reference: http://bugzilla.gnome.org/702674 940s ok 1 /GDateTime/invalid 940s ok 2 /GDateTime/add_days 940s ok 3 /GDateTime/add_full 940s ok 4 /GDateTime/add_hours 940s ok 5 /GDateTime/add_minutes 940s ok 6 /GDateTime/add_months 940s ok 7 /GDateTime/add_seconds 940s ok 8 /GDateTime/add_weeks 940s ok 9 /GDateTime/add_years 940s ok 10 /GDateTime/compare 940s ok 11 /GDateTime/diff 940s ok 12 /GDateTime/equal 940s ok 13 /GDateTime/get_day_of_week 940s ok 14 /GDateTime/get_day_of_month 940s ok 15 /GDateTime/get_day_of_year 940s ok 16 /GDateTime/get_hour 940s ok 17 /GDateTime/get_microsecond 940s ok 18 /GDateTime/get_minute 940s ok 19 /GDateTime/get_month 940s ok 20 /GDateTime/get_second 940s ok 21 /GDateTime/get_utc_offset 940s ok 22 /GDateTime/get_year 940s ok 23 /GDateTime/hash 940s ok 24 /GDateTime/new_from_unix 940s ok 25 /GDateTime/new_from_unix_utc 940s ok 26 /GDateTime/new_from_timeval 940s ok 27 /GDateTime/new_from_timeval_utc 940s ok 28 /GDateTime/new_from_iso8601 940s ok 29 /GDateTime/new_full 940s ok 30 /GDateTime/now 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 940s ok 31 /GDateTime/test-6-days-until-end-of-the-month 940s # %a -> expected: Sat 940s # %a -> actual: Sat 940s # %A -> expected: Saturday 940s # %A -> actual: Saturday 940s # %b -> expected: Oct 940s # %b -> actual: Oct 940s # %B -> expected: October 940s # %B -> actual: October 940s # %d -> expected: 24 940s # %d -> actual: 24 940s # %d -> expected: 01 940s # %d -> actual: 01 940s # %e -> expected: 24 940s # %e -> actual: 24 940s # %e -> expected:  1 940s # %e -> actual:  1 940s # %f -> expected: 001000 940s # %f -> actual: 001000 940s # %h -> expected: Oct 940s # %h -> actual: Oct 940s # %H -> expected: 00 940s # %H -> actual: 00 940s # %H -> expected: 15 940s # %H -> actual: 15 940s # %I -> expected: 12 940s # %I -> actual: 12 940s # %I -> expected: 12 940s # %I -> actual: 12 940s # %I -> expected: 03 940s # %I -> actual: 03 940s # %j -> expected: 297 940s # %j -> actual: 297 940s # %k -> expected:  0 940s # %k -> actual:  0 940s # %k -> expected: 13 940s # %k -> actual: 13 940s # %l -> expected: 12 940s # %l -> actual: 12 940s # %I -> expected: 12 940s # %I -> actual: 12 940s # %l -> expected:  1 940s # %l -> actual:  1 940s # %l -> expected: 10 940s # %l -> actual: 10 940s # %m -> expected: 10 940s # %m -> actual: 10 940s # %M -> expected: 00 940s # %M -> actual: 00 940s # %p -> expected: AM 940s # %p -> actual: AM 940s # %p -> expected: PM 940s # %p -> actual: PM 940s # %P -> expected: am 940s # %P -> actual: am 940s # %P -> expected: pm 940s # %P -> actual: pm 940s # %r -> expected: 12:00:00 AM 940s # %r -> actual: 12:00:00 AM 940s # %r -> expected: 01:13:13 PM 940s # %r -> actual: 01:13:13 PM 940s # %R -> expected: 00:00 940s # %R -> actual: 00:00 940s # %R -> expected: 13:13 940s # %R -> actual: 13:13 940s # %S -> expected: 00 940s # %S -> actual: 00 940s # %t -> expected: 940s # %t -> actual: 940s # %u -> expected: 6 940s # %u -> actual: 6 940s # %x -> expected: 10/24/09 940s # %x -> actual: 10/24/09 940s # %X -> expected: 00:00:00 940s # %X -> actual: 00:00:00 940s # %X -> expected: 13:14:15 940s # %X -> actual: 13:14:15 940s # %y -> expected: 09 940s # %y -> actual: 09 940s # %Y -> expected: 2009 940s # %Y -> actual: 2009 940s # %% -> expected: % 940s # %% -> actual: % 940s # % -> expected: 940s # % -> actual: 940s # %9 -> expected: (null) 940s # %9 -> actual: (null) 940s # %Z -> expected: UTC 940s # %Z -> actual: UTC 940s # %#Z %Z -> expected: utc UTC 940s # %#Z %Z -> actual: utc UTC 940s ok 32 /GDateTime/printf 940s # %a -> expected: ÅÚ 940s # %a -> actual: ÅÚ 940s # %A -> expected: ÅÚÍËÆü 940s # %A -> actual: ÅÚÍËÆü 940s # %b -> expected: 10·î 940s # %b -> actual: 10·î 940s # %B -> expected: 10·î 940s # %B -> actual: 10·î 940s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 940s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 940s # %C -> expected: 20 940s # %C -> actual: 20 940s # %d -> expected: 24 940s # %d -> actual: 24 940s # %d -> expected: 01 940s # %d -> actual: 01 940s # %e -> expected: 24 940s # %e -> actual: 24 940s # %h -> expected: 10·î 940s # %h -> actual: 10·î 940s # %H -> expected: 00 940s # %H -> actual: 00 940s # %H -> expected: 15 940s # %H -> actual: 15 940s # %I -> expected: 12 940s # %I -> actual: 12 940s # %I -> expected: 12 940s # %I -> actual: 12 940s # %I -> expected: 03 940s # %I -> actual: 03 940s # %j -> expected: 297 940s # %j -> actual: 297 940s # %k -> expected: ?0 940s # %k -> actual: ?0 940s # %k -> expected: 13 940s # %k -> actual: 13 940s # %l -> expected: 12 940s # %l -> actual: 12 940s # %I -> expected: 12 940s # %I -> actual: 12 940s # %l -> expected: ?1 940s # %l -> actual: ?1 940s # %l -> expected: 10 940s # %l -> actual: 10 940s # %m -> expected: 10 940s # %m -> actual: 10 940s # %M -> expected: 00 940s # %M -> actual: 00 940s # %p -> expected: ¸áÁ° 940s # %p -> actual: ¸áÁ° 940s # %p -> expected: ¸á¸å 940s # %p -> actual: ¸á¸å 940s # %P -> expected: ¸áÁ° 940s # %P -> actual: ¸áÁ° 940s # %P -> expected: ¸á¸å 940s # %P -> actual: ¸á¸å 940s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 940s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 940s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 940s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 940s # %R -> expected: 00:00 940s # %R -> actual: 00:00 940s # %R -> expected: 13:13 940s # %R -> actual: 13:13 940s # %S -> expected: 00 940s # %S -> actual: 00 940s # %t -> expected: 940s # %t -> actual: 940s # %u -> expected: 6 940s # %u -> actual: 6 940s # %x -> expected: 2009ǯ10·î24Æü 940s # %x -> actual: 2009ǯ10·î24Æü 940s # %X -> expected: 00»þ00ʬ00Éà 940s # %X -> actual: 00»þ00ʬ00Éà 940s # %X -> expected: 13»þ14ʬ15Éà 940s # %X -> actual: 13»þ14ʬ15Éà 940s # %y -> expected: 09 940s # %y -> actual: 09 940s # %Y -> expected: 2009 940s # %Y -> actual: 2009 940s # %% -> expected: % 940s # %% -> actual: % 940s # % -> expected: 940s # % -> actual: 940s # %9 -> expected: (null) 940s # %9 -> actual: (null) 940s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 940s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 940s # %EC -> expected: Ê¿À® 940s # %EC -> actual: Ê¿À® 940s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 940s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 940s # %EX -> expected: 00»þ00ʬ00Éà 940s # %EX -> actual: 00»þ00ʬ00Éà 940s # %Ey -> expected: 21 940s # %Ey -> actual: 21 940s # %EY -> expected: Ê¿À®21ǯ 940s # %EY -> actual: Ê¿À®21ǯ 940s ok 33 /GDateTime/non_utf8_printf 940s # ???? -> expected: ???? 940s # ???? -> actual: ???? 940s # %H?%M -> expected: 23?15 940s # %H?%M -> actual: 23?15 940s # %H?%M -> expected: 23?15 940s # %H?%M -> actual: 23?15 940s ok 34 /GDateTime/format_unrepresentable 940s ok 35 /GDateTime/format_iso8601 940s ok 36 /GDateTime/strftime 940s # %d -> expected: 01 940s # %d -> actual: 01 940s # %_d -> expected: 1 940s # %_d -> actual: 1 940s # %-d -> expected: 1 940s # %-d -> actual: 1 940s # %0d -> expected: 01 940s # %0d -> actual: 01 940s # %d -> expected: 21 940s # %d -> actual: 21 940s # %_d -> expected: 21 940s # %_d -> actual: 21 940s # %-d -> expected: 21 940s # %-d -> actual: 21 940s # %0d -> expected: 21 940s # %0d -> actual: 21 940s # %e -> expected:  1 940s # %e -> actual:  1 940s # %_e -> expected: 1 940s # %_e -> actual: 1 940s # %-e -> expected: 1 940s # %-e -> actual: 1 940s # %0e -> expected: 01 940s # %0e -> actual: 01 940s # %e -> expected: 21 940s # %e -> actual: 21 940s # %_e -> expected: 21 940s # %_e -> actual: 21 940s # %-e -> expected: 21 940s # %-e -> actual: 21 940s # %0e -> expected: 21 940s # %0e -> actual: 21 940s # %a -> expected: Thu 940s # %a -> actual: Thu 940s # %^a -> expected: THU 940s # %^a -> actual: THU 940s # %#a -> expected: THU 940s # %#a -> actual: THU 940s # %A -> expected: Thursday 940s # %A -> actual: Thursday 940s # %^A -> expected: THURSDAY 940s # %^A -> actual: THURSDAY 940s # %#A -> expected: THURSDAY 940s # %#A -> actual: THURSDAY 940s # %b -> expected: Jan 940s # %b -> actual: Jan 940s # %^b -> expected: JAN 940s # %^b -> actual: JAN 940s # %#b -> expected: JAN 940s # %#b -> actual: JAN 940s # %B -> expected: January 940s # %B -> actual: January 940s # %^B -> expected: JANUARY 940s # %^B -> actual: JANUARY 940s # %#B -> expected: JANUARY 940s # %#B -> actual: JANUARY 940s # %h -> expected: Jan 940s # %h -> actual: Jan 940s # %^h -> expected: JAN 940s # %^h -> actual: JAN 940s # %#h -> expected: JAN 940s # %#h -> actual: JAN 940s # %Z -> expected: UTC 940s # %Z -> actual: UTC 940s # %^Z -> expected: UTC 940s # %^Z -> actual: UTC 940s # %#Z -> expected: utc 940s # %#Z -> actual: utc 940s # %H -> expected: 01 940s # %H -> actual: 01 940s # %_H -> expected: 1 940s # %_H -> actual: 1 940s # %-H -> expected: 1 940s # %-H -> actual: 1 940s # %0H -> expected: 01 940s # %0H -> actual: 01 940s # %H -> expected: 21 940s # %H -> actual: 21 940s # %_H -> expected: 21 940s # %_H -> actual: 21 940s # %-H -> expected: 21 940s # %-H -> actual: 21 940s # %0H -> expected: 21 940s # %0H -> actual: 21 940s # %I -> expected: 01 940s # %I -> actual: 01 940s # %_I -> expected: 1 940s # %_I -> actual: 1 940s # %-I -> expected: 1 940s # %-I -> actual: 1 940s # %0I -> expected: 01 940s # %0I -> actual: 01 940s # %I -> expected: 11 940s # %I -> actual: 11 940s # %_I -> expected: 11 940s # %_I -> actual: 11 940s # %-I -> expected: 11 940s # %-I -> actual: 11 940s # %0I -> expected: 11 940s # %0I -> actual: 11 940s # %k -> expected:  1 940s # %k -> actual:  1 940s # %_k -> expected: 1 940s # %_k -> actual: 1 940s # %-k -> expected: 1 940s # %-k -> actual: 1 940s # %0k -> expected: 01 940s # %0k -> actual: 01 940s # %l -> expected:  1 940s # %l -> actual:  1 940s # %_l -> expected: 1 940s # %_l -> actual: 1 940s # %-l -> expected: 1 940s # %-l -> actual: 1 940s # %0l -> expected: 01 940s # %0l -> actual: 01 940s # %l -> expected: 11 940s # %l -> actual: 11 940s # %_l -> expected: 11 940s # %_l -> actual: 11 940s # %-l -> expected: 11 940s # %-l -> actual: 11 940s # %0l -> expected: 11 940s # %0l -> actual: 11 940s # %p -> expected: AM 940s # %p -> actual: AM 940s # %^p -> expected: AM 940s # %^p -> actual: AM 940s # %#p -> expected: am 940s # %#p -> actual: am 940s # %P -> expected: am 940s # %P -> actual: am 940s # %^P -> expected: AM 940s # %^P -> actual: AM 940s # %#P -> expected: am 940s # %#P -> actual: am 940s # %OH -> expected: Û²Û³ 940s # %OH -> actual: Û²Û³ 940s # %OI -> expected: Û±Û± 940s # %OI -> actual: Û±Û± 940s # %OM -> expected: Û°Û° 940s # %OM -> actual: Û°Û° 940s # %Om -> expected: Û°Û· 940s # %Om -> actual: Û°Û· 940s # %0Om -> expected: Û°Û· 940s # %0Om -> actual: Û°Û· 940s # %-Om -> expected: Û· 940s # %-Om -> actual: Û· 940s # %_Om -> expected: Û· 940s # %_Om -> actual: Û· 940s # %c -> expected: thu 01 jan 2009 00:00:00 utc 940s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 940s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 940s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 940s # %C -> expected: 20 940s # %C -> actual: 20 940s # %EC -> expected: 20 940s # %EC -> actual: 20 940s # %x -> expected: 02/01/09 940s # %x -> actual: 02/01/09 940s # %Ex -> expected: 02/01/09 940s # %Ex -> actual: 02/01/09 940s # %X -> expected: 01:02:03 940s # %X -> actual: 01:02:03 940s # %EX -> expected: 01:02:03 940s # %EX -> actual: 01:02:03 940s # %y -> expected: 09 940s # %y -> actual: 09 940s # %Ey -> expected: 09 940s # %Ey -> actual: 09 940s # %Y -> expected: 2009 940s # %Y -> actual: 2009 940s # %EY -> expected: 2009 940s # %EY -> actual: 2009 940s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 940s # Bug Reference: http://bugzilla.gnome.org/749206 940s # %B -> expected: January 940s # %B -> actual: January 940s # %OB -> expected: February 940s # %OB -> actual: February 940s # %b -> expected: Mar 940s # %b -> actual: Mar 940s # %Ob -> expected: Apr 940s # %Ob -> actual: Apr 940s # %h -> expected: May 940s # %h -> actual: May 940s # %Oh -> expected: Jun 940s # %Oh -> actual: Jun 940s # %B -> expected: Juli 940s # %B -> actual: Juli 940s # %OB -> expected: August 940s # %OB -> actual: August 940s # %b -> expected: Sep 940s # %b -> actual: Sep 940s # %Ob -> expected: Okt 940s # %Ob -> actual: Okt 940s # %h -> expected: Nov 940s # %h -> actual: Nov 940s # %Oh -> expected: Dez 940s # %Oh -> actual: Dez 940s # %B -> expected: enero 940s # %B -> actual: enero 940s # %OB -> expected: febrero 940s # %OB -> actual: febrero 940s # %b -> expected: mar 940s # %b -> actual: mar 940s # %Ob -> expected: abr 940s # %Ob -> actual: abr 940s # %h -> expected: may 940s # %h -> actual: may 940s # %Oh -> expected: jun 940s # %Oh -> actual: jun 940s # %B -> expected: juillet 940s # %B -> actual: juillet 940s # %OB -> expected: août 940s # %OB -> actual: août 940s # %b -> expected: sept. 940s # %b -> actual: sept. 940s # %Ob -> expected: oct. 940s # %Ob -> actual: oct. 940s # %h -> expected: nov. 940s # %h -> actual: nov. 940s # %Oh -> expected: déc. 940s # %Oh -> actual: déc. 940s # %B -> expected: ΙανουαÏίου 940s # %B -> actual: ΙανουαÏίου 940s # %B -> expected: ΦεβÏουαÏίου 940s # %B -> actual: ΦεβÏουαÏίου 940s # %B -> expected: ΜαÏτίου 940s # %B -> actual: ΜαÏτίου 940s # %OB -> expected: ΑπÏίλιος 940s # %OB -> actual: ΑπÏίλιος 940s # %OB -> expected: Μάιος 940s # %OB -> actual: Μάιος 940s # %OB -> expected: ΙοÏνιος 940s # %OB -> actual: ΙοÏνιος 940s # %b -> expected: Ιουλ 940s # %b -> actual: Ιουλ 940s # %Ob -> expected: ΑÏγ 940s # %Ob -> actual: ΑÏγ 940s # %B -> expected: svibnja 940s # %B -> actual: svibnja 940s # %B -> expected: lipnja 940s # %B -> actual: lipnja 940s # %B -> expected: srpnja 940s # %B -> actual: srpnja 940s # %OB -> expected: Kolovoz 940s # %OB -> actual: kolovoz 940s # %OB -> expected: Rujan 940s # %OB -> actual: rujan 940s # %OB -> expected: Listopad 940s # %OB -> actual: listopad 940s # %b -> expected: Stu 940s # %b -> actual: stu 940s # %Ob -> expected: Pro 940s # %Ob -> actual: pro 940s # %B -> expected: sausio 940s # %B -> actual: sausio 940s # %B -> expected: vasario 940s # %B -> actual: vasario 940s # %B -> expected: kovo 940s # %B -> actual: kovo 940s # %OB -> expected: balandis 940s # %OB -> actual: balandis 940s # %OB -> expected: gegužė 940s # %OB -> actual: gegužė 940s # %OB -> expected: birželis 940s # %OB -> actual: birželis 940s # %b -> expected: liep. 940s # %b -> actual: liep. 940s # %Ob -> expected: rugp. 940s # %Ob -> actual: rugp. 940s # %B -> expected: maja 940s # %B -> actual: maja 940s # %B -> expected: czerwca 940s # %B -> actual: czerwca 940s # %B -> expected: lipca 940s # %B -> actual: lipca 940s # %OB -> expected: sierpieÅ„ 940s # %OB -> actual: sierpieÅ„ 940s # %OB -> expected: wrzesieÅ„ 940s # %OB -> actual: wrzesieÅ„ 940s # %OB -> expected: październik 940s # %OB -> actual: październik 940s # %b -> expected: lis 940s # %b -> actual: lis 940s # %Ob -> expected: gru 940s # %Ob -> actual: gru 940s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 940s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 940s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 940s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 940s # %B -> expected: марта 940s # %B -> actual: марта 940s # %OB -> expected: Ðпрель 940s # %OB -> actual: Ðпрель 940s # %OB -> expected: Май 940s # %OB -> actual: Май 940s # %OB -> expected: Июнь 940s # %OB -> actual: Июнь 940s # %b -> expected: июл 940s # %b -> actual: июл 940s # %Ob -> expected: авг 940s # %Ob -> actual: авг 940s # %b -> expected: Ð¼Ð°Ñ 940s # %b -> actual: Ð¼Ð°Ñ 940s # %Ob -> expected: май 940s # %Ob -> actual: май 940s ok 38 /GDateTime/month_names 940s ok 39 /GDateTime/to_local 940s ok 40 /GDateTime/to_unix 940s ok 41 /GDateTime/to_timeval 940s ok 42 /GDateTime/to_utc 940s ok 43 /GDateTime/now_utc 940s ok 44 /GDateTime/dst 940s # Bug Reference: http://bugzilla.gnome.org/642935 940s ok 45 /GDateTime/test_z 942s ok 46 /GDateTime/test-all-dates 942s # slow test /GDateTime/test-all-dates executed in 1.41 secs 942s ok 47 /GDateTime/unix_usec 942s # Start of new_from_unix tests 942s # Bug Reference: http://bugzilla.gnome.org/782089 942s ok 48 /GDateTime/new_from_unix/overflow 942s # End of new_from_unix tests 942s # Start of new_from_timeval tests 942s # Bug Reference: http://bugzilla.gnome.org/782089 942s # Maximum supported GTimeVal.tv_sec = 253402300799 942s ok 49 /GDateTime/new_from_timeval/overflow 942s # End of new_from_timeval tests 942s # Start of new_from_iso8601 tests 942s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 942s # Vector 0: 1990-11-01T10:21:17Z 942s # Vector 1: 19901101T102117Z 942s # Vector 2: 1970-01-01T00:00:17.12Z 942s # Vector 3: 1970-01-01T00:00:17.1234Z 942s # Vector 4: 1970-01-01T00:00:17.123456Z 942s # Vector 5: 1980-02-22T12:36:00+02:00 942s # Vector 6: 1990-12-31T15:59:60-08:00 942s # Vector 7: 942s # Vector 8: x 942s # Vector 9: 123x 942s # Vector 10: 2001-10+x 942s # Vector 11: 1980-02-22T 942s # Vector 12: 2001-10-08Tx 942s # Vector 13: 2001-10-08T10:11x 942s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 942s # Vector 15: 1980-02-22T10:36:00Zulu 942s # Vector 16: 2T0+819855292164632335 942s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 942s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 942s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 942s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 942s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 942s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 942s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 942s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 942s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 942s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 942s # Vector 27: 20180803T140805.446178377+0100 942s # Vector 28: 21474836480803T140805.446178377+0100 942s # Vector 29: 20181303T140805.446178377+0100 942s # Vector 30: 20180003T140805.446178377+0100 942s # Vector 31: 20180800T140805.446178377+0100 942s # Vector 32: 20180832T140805.446178377+0100 942s # Vector 33: 20180803T240805.446178377+0100 942s # Vector 34: 20180803T146005.446178377+0100 942s # Vector 35: 20180803T140863.446178377+0100 942s # Vector 36: 20180803T140805.446178377+10000 942s # Vector 37: -0005-01-01T00:00:00Z 942s # Vector 38: 2018-08-06 942s # Vector 39: 20180803T140805,446178377+0100 942s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 942s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 942s # Vector 42: 1990-11-01T10:21:17 942s # Vector 43: 1719W462 407777-07 942s # Vector 44: 4011090 260528Z 942s # Vector 45: 0000W011 228214-22 942s ok 50 /GDateTime/new_from_iso8601/2 942s # End of new_from_iso8601 tests 942s # Start of format_mixed tests 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 942s # %b -> expected: mar 942s # %b -> actual: Mar 942s # %B -> expected: march 942s # %B -> actual: March 942s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 942s # %b -> expected: mar 942s # %b -> actual: Mar 942s # %B -> expected: march 942s # %B -> actual: March 942s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 942s # %b -> expected: Mär 942s # %b -> actual: Mär 942s # %B -> expected: März 942s # %B -> actual: März 942s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 942s # %b -> expected: Mär 942s # %b -> actual: Mär 942s # %B -> expected: März 942s # %B -> actual: März 942s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 942s # End of format_mixed tests 942s # Start of strftime tests 942s # %r -> expected: (null) 942s # %r -> actual: (null) 942s ok 55 /GDateTime/strftime/error_handling 942s # End of strftime tests 942s # Start of eras tests 942s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 942s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 942s # %EC -> expected: 令和 942s # %EC -> actual: 令和 942s # %Ex -> expected: 令和05å¹´06月01æ—¥ 942s # %Ex -> actual: 令和05å¹´06月01æ—¥ 942s # %EX -> expected: 00時00分00ç§’ 942s # %EX -> actual: 00時00分00ç§’ 942s # %Ey -> expected: 05 942s # %Ey -> actual: 05 942s # %EY -> expected: 令和05å¹´ 942s # %EY -> actual: 令和05å¹´ 942s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 942s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 942s # %EC -> expected: å¹³æˆ 942s # %EC -> actual: å¹³æˆ 942s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 942s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 942s # %EX -> expected: 00時00分00ç§’ 942s # %EX -> actual: 00時00分00ç§’ 942s # %Ey -> expected: 31 942s # %Ey -> actual: 31 942s # %EY -> expected: å¹³æˆ31å¹´ 942s # %EY -> actual: å¹³æˆ31å¹´ 942s ok - glib/gdatetime.test 942s # Running test: glib/socket-address.test 942s ok - glib/socket-address.test 942s # Running test: glib/callable-info.test 942s ok - glib/callable-info.test 942s # Running test: glib/unix.test 942s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 942s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 942s # %EC -> expected: 昭和 942s # %EC -> actual: 昭和 942s # %Ex -> expected: 昭和元年12月25æ—¥ 942s # %Ex -> actual: 昭和元年12月25æ—¥ 942s # %EX -> expected: 00時00分00ç§’ 942s # %EX -> actual: 00時00分00ç§’ 942s # %Ey -> expected: 01 942s # %Ey -> actual: 01 942s # %EY -> expected: 昭和元年 942s # %EY -> actual: 昭和元年 942s ok 56 /GDateTime/eras/japan 942s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 942s # Vector 0: 942s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 942s # 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å¹´ 942s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 942s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 942s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 942s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 942s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 942s # Vector 8: + 942s # Vector 9: +: 942s # Vector 10: +:: 942s # Vector 11: +:200 942s # Vector 12: +:2nonsense 942s # Vector 13: +:2nonsense: 942s # Vector 14: +:2: 942s # Vector 15: +:2:: 942s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 942s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 942s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 942s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 942s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 942s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 942s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 942s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 942s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 942s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 942s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 942s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 942s # Vector 28: +:2:2020/01/01 942s # Vector 29: +:2:2020/01/01: 942s # Vector 30: +:2:2020/01/01:: 942s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 942s # Vector 32: +:2:2020/01/01:+* 942s # Vector 33: +:2:2020/01/01:+*: 942s # Vector 34: +:2:2020/01/01:+*:: 942s # Vector 35: +:2:2020/01/01:+*:令和 942s # Vector 36: +:2:2020/01/01:+*:令和: 942s # Vector 37: +:2:2020/01/01:+*:令和:; 942s ok 58 /GDateTime/eras/parsing 942s # End of eras tests 942s # End of GDateTime tests 942s # Start of GTimeZone tests 942s ok 59 /GTimeZone/find-interval 942s ok 60 /GTimeZone/adjust-time 942s ok 61 /GTimeZone/no-header 942s ok 62 /GTimeZone/no-header-identifier 942s ok 63 /GTimeZone/posix-parse 942s # Bug Reference: http://bugzilla.gnome.org/697715 942s ok 64 /GTimeZone/floating-point 942s # System time zone identifier: Etc/UTC 942s ok 65 /GTimeZone/identifier 942s # Vector 0: -158400 942s # Vector 1: -10000 942s # Vector 2: -3600 942s # Vector 3: -61 942s # Vector 4: -60 942s # Vector 5: -59 942s # Vector 6: 0 942s # Vector 7: 59 942s # Vector 8: 60 942s # Vector 9: 61 942s # Vector 10: 3600 942s # Vector 11: 10000 942s # Vector 12: 158400 942s ok 66 /GTimeZone/new-offset 942s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 942s ok 67 /GTimeZone/parse-rfc8536 942s # /GTimeZone/caching summary: GTimeZone instances are cached 942s ok 68 /GTimeZone/caching 942s # End of GTimeZone tests 942s TAP version 14 942s # random seed: R02Scba33a0b6cc8bf624c214cb8e439f407 942s 1..2 942s # Start of socket tests 942s # Start of address tests 942s # Start of unix tests 942s ok 1 /socket/address/unix/construct 942s ok 2 /socket/address/unix/to-string 942s # End of unix tests 942s # End of address tests 942s # End of socket tests 942s TAP version 14 942s # random seed: R02S67575d24f8c238516bcb235a1540a8ec 942s 1..5 942s # Start of callable-info tests 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_IQ0652/callable-info/sync-function/.dirs/runtime 942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 942s ok 1 /callable-info/sync-function 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_IQ0652/callable-info/async-function/.dirs/runtime 942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 942s ok 2 /callable-info/async-function 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_IQ0652/callable-info/is-method/.dirs/runtime 942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 942s ok 3 /callable-info/is-method 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_IQ0652/callable-info/static-method/.dirs/runtime 942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 942s ok 4 /callable-info/static-method 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_IQ0652/callable-info/static-vfunc/.dirs/runtime 942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 942s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 942s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 942s # End of callable-info tests 942s TAP version 14 942s # random seed: R02Saeae2c4bfa9fb878e9a7c1507d7f6155 942s 1..20 942s # Start of glib-unix tests 942s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 942s ok 1 /glib-unix/closefrom 942s ok 2 /glib-unix/pipe 942s # /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 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 942s ok 3 /glib-unix/pipe-stdio-overwrite 942s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 942s ok 4 /glib-unix/pipe-struct 942s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 942s ok 5 /glib-unix/pipe-struct-auto 942s ok 6 /glib-unix/error 942s ok 7 /glib-unix/nonblocking 942s # Executing: glib/unix.test 942s ok 8 /glib-unix/sighup 942s # slow test /glib-unix/sighup executed in 0.50 secs 943s ok 9 /glib-unix/sigterm 943s # slow test /glib-unix/sigterm executed in 0.50 secs 943s ok 10 /glib-unix/sighup_again 943s # slow test /glib-unix/sighup_again executed in 0.50 secs 943s ok 11 /glib-unix/sighup_add_remove 943s ok 12 /glib-unix/sighup_nested 945s ok 13 /glib-unix/callback_after_signal 945s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 945s ok 14 /glib-unix/child-wait 945s # Start of closefrom tests 945s # Start of subprocess tests 945s # End of subprocess tests 945s # End of closefrom tests 945s # Start of pipe tests 945s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 945s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 945s ok 15 /glib-unix/pipe/fd-cloexec 945s # End of pipe tests 945s # Start of sighup tests 946s ok 16 /glib-unix/sighup/alternate-stack 946s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 946s # End of sighup tests 946s # Start of sigterm tests 947s # Executing: glib/unix.test 947s ok 17 /glib-unix/sigterm/alternate-stack 947s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 947s # End of sigterm tests 947s # Start of sighup_again tests 948s ok 18 /glib-unix/sighup_again/alternate-stack 948s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 948s # End of sighup_again tests 948s # Start of get-passwd-entry tests 948s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 948s ok 19 /glib-unix/get-passwd-entry/root 948s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 948s ok 20 /glib-unix/get-passwd-entry/nonexistent 948s # End of get-passwd-entry tests 948s # End of glib-unix tests 948s ok - glib/unix.test 948s # Running test: glib/atomic-c-99.test 948s TAP version 14 948s # random seed: R02S74fe0e5b80cc49d2156b209021225b8d 948s 1..2 948s # Start of atomic tests 948s ok 1 /atomic/types 948s ok 2 /atomic/threaded 948s # End of atomic tests 948s ok - glib/atomic-c-99.test 948s # Running test: glib/portal-support-none.test 948s TAP version 14 948s # random seed: R02Sacf31583e4f65418a28e2bbc6c2e8721 948s 1..1 948s # Start of portal-support tests 948s ok 1 /portal-support/none 948s # End of portal-support tests 948s ok - glib/portal-support-none.test 948s # Running test: glib/reference.test 948s TAP version 14 949s ok - glib/reference.test 949s # Running test: glib/portal-support-flatpak-network-only.test 949s ok - glib/portal-support-flatpak-network-only.test 949s # Running test: glib/actions.test 949s # random seed: R02S548431f758b5ece8153fd5c0c96f3770 949s 1..29 949s # Start of type tests 949s ok 1 /type/fundamentals 949s ok 2 /type/qdata 949s ok 3 /type/query 949s ok 4 /type/class-private 949s # End of type tests 949s # Start of object tests 949s ok 5 /object/clear 949s ok 6 /object/clear-function 949s ok 7 /object/set 949s ok 8 /object/set-function 949s ok 9 /object/value 949s ok 10 /object/initially-unowned 949s ok 11 /object/weak-pointer 949s ok 12 /object/weak-ref 949s ok 13 /object/toggle-ref 949s ok 14 /object/qdata 949s ok 15 /object/qdata2 949s # Start of set tests 949s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 949s ok 16 /object/set/derived-type 949s # End of set tests 949s # Start of weak-pointer tests 949s ok 17 /object/weak-pointer/clear 949s ok 18 /object/weak-pointer/clear-function 949s ok 19 /object/weak-pointer/set 949s ok 20 /object/weak-pointer/set-function 949s # End of weak-pointer tests 949s # Start of weak-ref tests 949s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 949s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 949s ok 21 /object/weak-ref/on-dispose 949s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 949s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 949s ok 22 /object/weak-ref/on-run-dispose 949s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 949s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 949s ok 23 /object/weak-ref/on-toggle-notify 949s ok 24 /object/weak-ref/in-toggle-notify 949s ok 25 /object/weak-ref/many 949s # Start of concurrent tests 949s ok 26 /object/weak-ref/concurrent/0 949s ok 27 /object/weak-ref/concurrent/1 949s # End of concurrent tests 949s # End of weak-ref tests 949s # Start of toggle-ref tests 949s ok 28 /object/toggle-ref/ref-on-dispose 949s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 949s # End of toggle-ref tests 949s # End of object tests 949s TAP version 14 949s # random seed: R02S1fddbdefb50b3582f7070ad4613c074c 949s 1..1 949s # Start of portal-support tests 949s # Start of flatpak tests 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/runtime 949s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_14E052/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 949s ok 1 /portal-support/flatpak/network 949s # End of flatpak tests 949s # End of portal-support tests 949s TAP version 14 949s # random seed: R02S7e8c26122ba04cfb950e389fda891ac0 949s 1..13 949s # Start of actions tests 949s ok 1 /actions/basic 949s ok 2 /actions/name 949s ok 3 /actions/simplegroup 949s ok 4 /actions/stateful 949s ok 5 /actions/default-activate 949s ok 6 /actions/entries 949s ok 7 /actions/parse-detailed 949s ok 8 /actions/property 949s ok 9 /actions/no-properties 949s # Start of dbus tests 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s ok 10 /actions/dbus/export 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 11 /actions/dbus/threaded 951s # slow test /actions/dbus/threaded executed in 2.15 secs 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 12 /actions/dbus/bug679509 951s # Start of export tests 951s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s ok - glib/actions.test 951s # Running test: glib/gdbus-test-codegen-old.test 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 13 /actions/dbus/export/error-handling 951s # End of export tests 951s # End of dbus tests 951s # End of actions tests 951s TAP version 14 951s # random seed: R02S2d363de5a2b9aa2b6d7e95b2b8afda77 951s 1..8 951s # Start of gdbus tests 951s # Start of codegen tests 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/annotations/.dirs/runtime 951s ok 1 /gdbus/codegen/annotations 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/interface_stability/.dirs/runtime 951s ok 2 /gdbus/codegen/interface_stability 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/object-manager/.dirs/runtime 951s ok 3 /gdbus/codegen/object-manager 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/property-naming/.dirs/runtime 951s ok 4 /gdbus/codegen/property-naming 951s ok - glib/gdbus-test-codegen-old.test 951s # Running test: glib/mimeapps.test 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/autocleanups/.dirs/runtime 951s ok 5 /gdbus/codegen/autocleanups 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/deprecations/.dirs/runtime 951s ok 6 /gdbus/codegen/deprecations 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/standalone-interface-info/.dirs/runtime 951s ok 7 /gdbus/codegen/standalone-interface-info 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_BRM752/gdbus/codegen/unix-fd-list/.dirs/runtime 951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 951s ok 8 /gdbus/codegen/unix-fd-list 951s # End of codegen tests 951s # End of gdbus tests 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s TAP version 14 951s # random seed: R02Sad67ba40caf26253eac7060bd09a969a 951s 1..7 951s # Start of appinfo tests 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/all/.dirs/data/applications/mimeinfo.cache' 951s ok 1 /appinfo/all 951s # Start of mime tests 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_F3X852/appinfo/all/.dirs/config to /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config 951s ok 2 /appinfo/mime/api 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config 951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_F3X852/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config 951s ok 3 /appinfo/mime/default 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_F3X852/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config 951s ok 4 /appinfo/mime/file 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_F3X852/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/config 951s ok 5 /appinfo/mime/scheme-handler 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_F3X852/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config 951s ok 6 /appinfo/mime/default-last-used 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/runtime 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 951s # removing '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 951s # creating '/tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 951s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_F3X852/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_F3X852/appinfo/mime/ignore-nonexisting/.dirs/config 951s ok 7 /appinfo/mime/ignore-nonexisting 951s # End of mime tests 951s # End of appinfo tests 951s ok - glib/mimeapps.test 951s # Running test: glib/override.test 951s TAP version 14 951s # random seed: R02Sf3d13f8855f014da0e383cf8f7479843 951s 1..1 951s # Start of gobject tests 951s # *** emitting foo on a TestA instance 951s # Expecting: TestA::foo,TestI::foo 951s # Got: TestA::foo,TestI::foo 951s # *** emitting bar on a TestA instance 951s # Expecting: TestA::bar 951s # Got: TestA::bar 951s ok - glib/override.test 951s # *** emitting baz on a TestA instance 951s # Expecting: TestA::baz 951s # Got: TestA::baz 951s # *** emitting foo on a TestB instance 951s # Expecting: TestB::foo,TestA::foo,TestI::foo 951s # Got: TestB::foo,TestA::foo,TestI::foo 951s # *** emitting bar on a TestB instance 951s # Expecting: TestB::bar,TestA::bar 951s # Got: TestB::bar,TestA::bar 951s # *** emitting baz on a TestB instance 951s # Expecting: TestB::baz,TestA::baz 951s # Got: TestB::baz,TestA::baz 951s # *** emitting foo on a TestC instance 951s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 951s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 951s # *** emitting bar on a TestC instance 951s # Expecting: TestC::bar,TestB::bar,TestA::bar 951s # Got: TestC::bar,TestB::bar,TestA::bar 951s # *** emitting baz on a TestC instance 951s # Expecting: TestC::baz,TestB::baz,TestA::baz 951s # Got: TestC::baz,TestB::baz,TestA::baz 951s ok 1 /gobject/override 951s # End of gobject tests 951s # Running test: glib/guuid.test 951s TAP version 14 951s # random seed: R02S607855d6732255ad89d48738be23972a 951s 1..2 951s # Start of uuid tests 951s ok 1 /uuid/string 951s ok 2 /uuid/random 951s # End of uuid tests 951s ok - glib/guuid.test 951s # Running test: glib/properties-refcount3.test 951s TAP version 14 951s # random seed: R02Sbed9d5492f2be95e4f196eb74b34e514 951s 1..1 951s # Start of gobject tests 951s # Start of refcount tests 952s # Executing: glib/properties-refcount3.test 957s # Executing: glib/properties-refcount3.test 962s # Executing: glib/properties-refcount3.test 967s # Executing: glib/properties-refcount3.test 972s # Executing: glib/properties-refcount3.test 977s # Executing: glib/properties-refcount3.test 981s ok - glib/properties-refcount3.test 981s # 981s # stopping 981s # 981s # stopped 981s # 981s # 13025174 1081545 981s # 981s ok 1 /gobject/refcount/properties-3 981s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 981s # End of refcount tests 981s # End of gobject tests 981s # Running test: glib/gdbus-close-pending.test 981s TAP version 14 981s # random seed: R02S89addea60d485dffe19c1d299e737c20 981s 1..2 981s # Start of gdbus tests 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CE2A62/gdbus/close-pending/.dirs/runtime 981s ok 1 /gdbus/close-pending 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CE2A62/gdbus/unref-pending/.dirs/runtime 982s ok 2 /gdbus/unref-pending 982s # End of gdbus tests 982s ok - glib/gdbus-close-pending.test 982s # Running test: glib/defaultiface.test 982s ok - glib/defaultiface.test 982s # Running test: glib/unix-streams.test 982s TAP version 14 982s # random seed: R02S78a72817fbb5631926721d5936e645f5 982s 1..2 982s # Start of gobject tests 982s ok 1 /gobject/static-iface 982s ok 2 /gobject/dynamic-iface 982s # End of gobject tests 982s TAP version 14 982s # random seed: R02S18467b14c10a62ebe02d1959c3fffde0 982s 1..9 982s # Start of unix-streams tests 982s ok 1 /unix-streams/basic 982s # Executing: glib/unix-streams.test 982s ok 2 /unix-streams/pipe-io-test 982s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 983s ok 3 /unix-streams/nonblocking-io-test 983s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 983s ok 4 /unix-streams/read_write 983s ok 5 /unix-streams/read_writev 983s ok 6 /unix-streams/write-wouldblock 983s ok 7 /unix-streams/writev-wouldblock 983s ok 8 /unix-streams/write-async-wouldblock 983s ok 9 /unix-streams/writev-async-wouldblock 983s # End of unix-streams tests 983s ok - glib/unix-streams.test 983s # Running test: glib/mapping.test 983s ok - glib/mapping.test 983s # Running test: glib/regex.test 983s TAP version 14 983s # random seed: R02Sdfc493ff4fff2dc7accf90b0fcad8b7a 983s 1..3 983s # Start of mapping tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_XCI452/mapping/flags/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_XCI452/mapping/flags/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_XCI452/mapping/flags/.dirs/system-config1:/tmp/test_mapping_XCI452/mapping/flags/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_XCI452/mapping/flags/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_XCI452/mapping/flags/.dirs/system-data1:/tmp/test_mapping_XCI452/mapping/flags/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_XCI452/mapping/flags/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_XCI452/mapping/flags/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_XCI452/mapping/flags/.dirs/runtime 983s # test_mapping: ok 983s ok 1 /mapping/flags 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_XCI452/mapping/private/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_XCI452/mapping/private/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_XCI452/mapping/private/.dirs/system-config1:/tmp/test_mapping_XCI452/mapping/private/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_XCI452/mapping/private/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_XCI452/mapping/private/.dirs/system-data1:/tmp/test_mapping_XCI452/mapping/private/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_XCI452/mapping/private/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_XCI452/mapping/private/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_XCI452/mapping/private/.dirs/runtime 983s ok 2 /mapping/private 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_XCI452/mapping/private-child/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_XCI452/mapping/private-child/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_XCI452/mapping/private-child/.dirs/runtime 983s # test_child_private: child spawned 983s # Subtest: /usr/libexec/installed-tests/glib/mapping 983s # random seed: R02S40354fb24ebf33d5ce90882be7163319 983s # test_child_private: received first child signal 983s # test_child_private: received parent signal 983s # Child exited with status 0 983s # test_child_private: received second child signal 983s ok 3 /mapping/private-child 983s # End of mapping tests 983s TAP version 14 983s # random seed: R02S592d72f26230961c7e7c2276ff483964 983s 1..848 983s # Start of regex tests 983s ok 1 /regex/properties 983s ok 2 /regex/class 983s ok 3 /regex/lookahead 983s ok 4 /regex/lookbehind 983s ok 5 /regex/subpattern 983s ok 6 /regex/condition 983s ok 7 /regex/recursion 983s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 983s ok 8 /regex/multiline 983s ok 9 /regex/explicit-crlf 983s ok 10 /regex/max-lookbehind 983s ok 11 /regex/compile-errors 983s ok 12 /regex/jit-unsupported-matching 983s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 983s ok 13 /regex/unmatched-named-subpattern 983s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 983s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 983s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 983s ok 14 /regex/compiled-regex-after-jit-failure 983s # Start of new tests 983s ok 15 /regex/new/1 983s ok 16 /regex/new/2 983s ok 17 /regex/new/3 983s ok 18 /regex/new/4 983s ok 19 /regex/new/5 983s ok 20 /regex/new/6 983s ok 21 /regex/new/7 983s ok 22 /regex/new/8 983s ok 23 /regex/new/9 983s ok 24 /regex/new/10 983s ok 25 /regex/new/11 983s ok 26 /regex/new/12 983s ok 27 /regex/new/13 983s ok 28 /regex/new/14 983s ok 29 /regex/new/15 983s ok 30 /regex/new/16 983s ok 31 /regex/new/17 983s ok 32 /regex/new/18 983s ok 33 /regex/new/19 983s ok 34 /regex/new/71 983s ok 35 /regex/new/80 983s ok 36 /regex/new/82 983s # End of new tests 983s # Start of new-check-flags tests 983s ok 37 /regex/new-check-flags/20 983s ok 38 /regex/new-check-flags/21 983s ok 39 /regex/new-check-flags/22 983s ok 40 /regex/new-check-flags/23 983s ok 41 /regex/new-check-flags/24 983s ok 42 /regex/new-check-flags/25 983s ok 43 /regex/new-check-flags/26 983s ok 44 /regex/new-check-flags/27 983s ok 45 /regex/new-check-flags/28 983s ok 46 /regex/new-check-flags/29 983s ok 47 /regex/new-check-flags/30 983s ok 48 /regex/new-check-flags/31 983s ok 49 /regex/new-check-flags/32 983s ok 50 /regex/new-check-flags/33 983s ok 51 /regex/new-check-flags/34 983s ok 52 /regex/new-check-flags/35 983s ok 53 /regex/new-check-flags/36 983s # End of new-check-flags tests 983s # Start of new-fail tests 983s ok 54 /regex/new-fail/37 983s ok 55 /regex/new-fail/38 983s ok 56 /regex/new-fail/39 983s ok 57 /regex/new-fail/40 983s ok 58 /regex/new-fail/41 983s ok 59 /regex/new-fail/42 983s ok 60 /regex/new-fail/43 983s ok 61 /regex/new-fail/44 983s ok 62 /regex/new-fail/45 983s ok 63 /regex/new-fail/46 983s ok 64 /regex/new-fail/47 983s ok 65 /regex/new-fail/48 983s ok 66 /regex/new-fail/49 983s ok 67 /regex/new-fail/50 983s ok 68 /regex/new-fail/51 983s ok 69 /regex/new-fail/52 983s ok 70 /regex/new-fail/53 983s ok 71 /regex/new-fail/54 983s ok 72 /regex/new-fail/55 983s ok 73 /regex/new-fail/56 983s ok 74 /regex/new-fail/57 983s ok 75 /regex/new-fail/58 983s ok 76 /regex/new-fail/59 983s ok 77 /regex/new-fail/60 983s ok 78 /regex/new-fail/61 983s ok 79 /regex/new-fail/62 983s ok 80 /regex/new-fail/63 983s ok 81 /regex/new-fail/64 983s ok 82 /regex/new-fail/65 983s ok 83 /regex/new-fail/66 983s ok 84 /regex/new-fail/67 983s ok 85 /regex/new-fail/68 983s ok 86 /regex/new-fail/69 983s ok 87 /regex/new-fail/70 983s ok 88 /regex/new-fail/72 983s ok 89 /regex/new-fail/73 983s ok 90 /regex/new-fail/74 983s ok 91 /regex/new-fail/75 983s ok 92 /regex/new-fail/76 983s ok 93 /regex/new-fail/77 983s ok 94 /regex/new-fail/78 983s ok 95 /regex/new-fail/79 983s ok 96 /regex/new-fail/81 983s ok 97 /regex/new-fail/83 983s ok 98 /regex/new-fail/84 983s ok 99 /regex/new-fail/85 983s ok 100 /regex/new-fail/86 983s ok 101 /regex/new-fail/87 983s ok 102 /regex/new-fail/88 983s ok 103 /regex/new-fail/89 983s ok 104 /regex/new-fail/90 983s ok 105 /regex/new-fail/91 983s # End of new-fail tests 983s # Start of match-simple tests 983s ok 106 /regex/match-simple/92 983s ok 107 /regex/match-simple/93 983s ok 108 /regex/match-simple/94 983s ok 109 /regex/match-simple/95 983s ok 110 /regex/match-simple/96 983s ok 111 /regex/match-simple/97 983s ok 112 /regex/match-simple/98 983s ok 113 /regex/match-simple/99 983s ok 114 /regex/match-simple/100 983s ok 115 /regex/match-simple/101 983s ok 116 /regex/match-simple/102 983s ok 117 /regex/match-simple/103 983s ok 118 /regex/match-simple/104 983s ok 119 /regex/match-simple/105 983s ok 120 /regex/match-simple/106 983s ok 121 /regex/match-simple/107 983s ok 122 /regex/match-simple/108 983s ok 123 /regex/match-simple/109 983s ok 124 /regex/match-simple/110 983s ok 125 /regex/match-simple/111 983s ok 126 /regex/match-simple/112 983s ok 127 /regex/match-simple/113 983s ok 128 /regex/match-simple/114 983s ok 129 /regex/match-simple/115 983s ok 130 /regex/match-simple/116 983s ok 131 /regex/match-simple/117 983s ok 132 /regex/match-simple/118 983s ok 133 /regex/match-simple/119 983s ok 134 /regex/match-simple/120 983s ok 135 /regex/match-simple/121 983s ok 136 /regex/match-simple/122 983s ok 137 /regex/match-simple/123 983s ok 138 /regex/match-simple/124 983s ok 139 /regex/match-simple/125 983s ok 140 /regex/match-simple/126 983s ok 141 /regex/match-simple/127 983s ok 142 /regex/match-simple/128 983s ok 143 /regex/match-simple/129 983s ok 144 /regex/match-simple/130 983s ok 145 /regex/match-simple/131 983s ok 146 /regex/match-simple/132 983s ok 147 /regex/match-simple/133 983s ok 148 /regex/match-simple/134 983s ok 149 /regex/match-simple/135 983s ok 150 /regex/match-simple/136 983s ok 151 /regex/match-simple/137 983s ok 152 /regex/match-simple/138 983s ok 153 /regex/match-simple/139 983s ok 154 /regex/match-simple/140 983s ok 155 /regex/match-simple/141 983s ok 156 /regex/match-simple/142 983s ok 157 /regex/match-simple/143 983s ok 158 /regex/match-simple/144 983s ok 159 /regex/match-simple/145 983s ok 160 /regex/match-simple/146 983s ok 161 /regex/match-simple/147 983s ok 162 /regex/match-simple/148 983s ok 163 /regex/match-simple/149 983s ok 164 /regex/match-simple/150 983s ok 165 /regex/match-simple/151 983s ok 166 /regex/match-simple/152 983s ok 167 /regex/match-simple/153 983s ok 168 /regex/match-simple/154 983s ok 169 /regex/match-simple/155 983s ok 170 /regex/match-simple/156 983s ok 171 /regex/match-simple/157 983s ok 172 /regex/match-simple/158 983s ok 173 /regex/match-simple/159 983s ok 174 /regex/match-simple/160 983s ok 175 /regex/match-simple/161 983s ok 176 /regex/match-simple/162 983s ok 177 /regex/match-simple/163 983s ok 178 /regex/match-simple/164 983s # End of match-simple tests 983s # Start of match-simple-optimized tests 983s ok 179 /regex/match-simple-optimized/92 983s ok 180 /regex/match-simple-optimized/93 983s ok 181 /regex/match-simple-optimized/94 983s ok 182 /regex/match-simple-optimized/95 983s ok 183 /regex/match-simple-optimized/96 983s ok 184 /regex/match-simple-optimized/97 983s ok 185 /regex/match-simple-optimized/98 983s ok 186 /regex/match-simple-optimized/99 983s ok 187 /regex/match-simple-optimized/100 983s ok 188 /regex/match-simple-optimized/101 983s ok 189 /regex/match-simple-optimized/102 983s ok 190 /regex/match-simple-optimized/103 983s ok 191 /regex/match-simple-optimized/104 983s ok 192 /regex/match-simple-optimized/105 983s ok 193 /regex/match-simple-optimized/106 983s ok 194 /regex/match-simple-optimized/107 983s ok 195 /regex/match-simple-optimized/108 983s ok 196 /regex/match-simple-optimized/109 983s ok 197 /regex/match-simple-optimized/110 983s ok 198 /regex/match-simple-optimized/111 983s ok 199 /regex/match-simple-optimized/112 983s ok 200 /regex/match-simple-optimized/113 983s ok 201 /regex/match-simple-optimized/114 983s ok 202 /regex/match-simple-optimized/115 983s ok 203 /regex/match-simple-optimized/116 983s ok 204 /regex/match-simple-optimized/117 983s ok 205 /regex/match-simple-optimized/118 983s ok 206 /regex/match-simple-optimized/119 983s ok 207 /regex/match-simple-optimized/120 983s ok 208 /regex/match-simple-optimized/121 983s ok 209 /regex/match-simple-optimized/122 983s ok 210 /regex/match-simple-optimized/123 983s ok 211 /regex/match-simple-optimized/124 983s ok 212 /regex/match-simple-optimized/125 983s ok 213 /regex/match-simple-optimized/126 983s ok 214 /regex/match-simple-optimized/127 983s ok 215 /regex/match-simple-optimized/128 983s ok 216 /regex/match-simple-optimized/129 983s ok 217 /regex/match-simple-optimized/130 983s ok 218 /regex/match-simple-optimized/131 983s ok 219 /regex/match-simple-optimized/132 983s ok 220 /regex/match-simple-optimized/133 983s ok 221 /regex/match-simple-optimized/134 983s ok 222 /regex/match-simple-optimized/135 983s ok 223 /regex/match-simple-optimized/136 983s ok 224 /regex/match-simple-optimized/137 983s ok 225 /regex/match-simple-optimized/138 983s ok 226 /regex/match-simple-optimized/139 983s ok 227 /regex/match-simple-optimized/140 983s ok 228 /regex/match-simple-optimized/141 983s ok 229 /regex/match-simple-optimized/142 983s ok 230 /regex/match-simple-optimized/143 983s ok 231 /regex/match-simple-optimized/144 983s ok 232 /regex/match-simple-optimized/145 983s ok 233 /regex/match-simple-optimized/146 983s ok 234 /regex/match-simple-optimized/147 983s ok 235 /regex/match-simple-optimized/148 983s ok 236 /regex/match-simple-optimized/149 983s ok 237 /regex/match-simple-optimized/150 983s ok 238 /regex/match-simple-optimized/151 983s ok 239 /regex/match-simple-optimized/152 983s ok 240 /regex/match-simple-optimized/153 983s ok 241 /regex/match-simple-optimized/154 983s ok 242 /regex/match-simple-optimized/155 983s ok 243 /regex/match-simple-optimized/156 983s ok 244 /regex/match-simple-optimized/157 983s ok 245 /regex/match-simple-optimized/158 983s ok 246 /regex/match-simple-optimized/159 983s ok 247 /regex/match-simple-optimized/160 983s ok 248 /regex/match-simple-optimized/161 983s ok 249 /regex/match-simple-optimized/162 983s ok 250 /regex/match-simple-optimized/163 983s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 983s ok 251 /regex/match-simple-optimized/164 983s # End of match-simple-optimized tests 983s # Start of match tests 983s ok 252 /regex/match/165 983s ok 253 /regex/match/166 983s ok 254 /regex/match/167 983s ok 255 /regex/match/168 983s ok 256 /regex/match/169 983s ok 257 /regex/match/170 983s ok 258 /regex/match/171 983s ok 259 /regex/match/172 983s ok 260 /regex/match/173 983s ok 261 /regex/match/174 983s ok 262 /regex/match/175 983s ok 263 /regex/match/176 983s ok 264 /regex/match/177 983s ok 265 /regex/match/178 983s ok 266 /regex/match/179 983s ok 267 /regex/match/180 983s ok 268 /regex/match/181 983s ok 269 /regex/match/182 983s ok 270 /regex/match/183 983s ok 271 /regex/match/184 983s ok 272 /regex/match/185 983s ok 273 /regex/match/186 983s ok 274 /regex/match/187 983s ok 275 /regex/match/188 983s ok 276 /regex/match/189 983s ok 277 /regex/match/190 983s ok 278 /regex/match/191 983s ok 279 /regex/match/192 983s ok 280 /regex/match/193 983s ok 281 /regex/match/194 983s ok 282 /regex/match/195 983s ok 283 /regex/match/196 983s ok 284 /regex/match/197 983s ok 285 /regex/match/198 983s ok 286 /regex/match/199 983s ok 287 /regex/match/200 983s ok 288 /regex/match/201 983s ok 289 /regex/match/202 983s ok 290 /regex/match/203 983s ok 291 /regex/match/204 983s ok 292 /regex/match/205 983s ok 293 /regex/match/206 983s ok 294 /regex/match/207 983s ok 295 /regex/match/208 983s ok 296 /regex/match/209 983s ok 297 /regex/match/210 983s ok 298 /regex/match/211 983s ok 299 /regex/match/212 983s ok 300 /regex/match/213 983s ok 301 /regex/match/214 983s ok 302 /regex/match/215 983s ok 303 /regex/match/216 983s ok 304 /regex/match/217 983s ok 305 /regex/match/218 983s ok 306 /regex/match/219 983s ok 307 /regex/match/220 983s ok 308 /regex/match/221 983s ok 309 /regex/match/222 983s ok 310 /regex/match/223 983s ok 311 /regex/match/224 983s ok 312 /regex/match/225 983s ok 313 /regex/match/226 983s ok 314 /regex/match/227 983s ok 315 /regex/match/228 983s ok 316 /regex/match/229 983s ok 317 /regex/match/230 983s ok 318 /regex/match/231 983s ok 319 /regex/match/232 983s ok 320 /regex/match/233 983s ok 321 /regex/match/234 983s ok 322 /regex/match/235 983s ok 323 /regex/match/236 983s ok 324 /regex/match/237 983s ok 325 /regex/match/238 983s ok 326 /regex/match/239 983s ok 327 /regex/match/240 983s ok 328 /regex/match/241 983s ok 329 /regex/match/242 983s ok 330 /regex/match/243 983s ok 331 /regex/match/244 983s ok 332 /regex/match/245 983s ok 333 /regex/match/246 983s ok 334 /regex/match/partial281 983s ok 335 /regex/match/partial282 983s ok 336 /regex/match/partial283 983s ok 337 /regex/match/partial284 983s ok 338 /regex/match/partial285 983s ok 339 /regex/match/partial286 983s ok 340 /regex/match/partial287 983s ok 341 /regex/match/partial288 983s ok 342 /regex/match/partial289 983s ok 343 /regex/match/partial290 983s ok 344 /regex/match/partial291 983s ok 345 /regex/match/partial292 983s ok 346 /regex/match/partial293 983s ok 347 /regex/match/partial294 983s ok 348 /regex/match/partial295 983s ok 349 /regex/match/partial296 983s ok 350 /regex/match/partial297 983s ok 351 /regex/match/partial298 983s ok 352 /regex/match/partial299 983s ok 353 /regex/match/partial300 983s ok 354 /regex/match/partial301 983s ok 355 /regex/match/partial302 983s # Start of next0 tests 983s ok 356 /regex/match/next0/247 983s ok 357 /regex/match/next0/248 983s ok 358 /regex/match/next0/249 983s ok 359 /regex/match/next0/250 983s # End of next0 tests 983s # Start of next1 tests 983s ok 360 /regex/match/next1/251 983s ok 361 /regex/match/next1/252 983s ok 362 /regex/match/next1/253 983s ok 363 /regex/match/next1/254 983s ok 364 /regex/match/next1/255 983s # End of next1 tests 983s # Start of next2 tests 983s ok 365 /regex/match/next2/256 983s ok 366 /regex/match/next2/257 983s ok 367 /regex/match/next2/258 983s ok 368 /regex/match/next2/259 983s ok 369 /regex/match/next2/260 983s ok 370 /regex/match/next2/261 983s ok 371 /regex/match/next2/262 983s ok 372 /regex/match/next2/263 983s # End of next2 tests 983s # Start of next3 tests 983s ok 373 /regex/match/next3/264 983s ok 374 /regex/match/next3/265 983s ok 375 /regex/match/next3/266 983s ok 376 /regex/match/next3/267 983s ok 377 /regex/match/next3/268 983s ok 378 /regex/match/next3/269 983s # End of next3 tests 983s # Start of next4 tests 983s ok 379 /regex/match/next4/270 983s # End of next4 tests 983s # Start of count tests 983s ok 380 /regex/match/count/271 983s ok 381 /regex/match/count/272 983s ok 382 /regex/match/count/273 983s ok 383 /regex/match/count/274 983s ok 384 /regex/match/count/275 983s ok 385 /regex/match/count/276 983s ok 386 /regex/match/count/277 983s ok 387 /regex/match/count/278 983s ok 388 /regex/match/count/279 983s ok 389 /regex/match/count/280 983s # End of count tests 983s # Start of count-optimized tests 983s ok 390 /regex/match/count-optimized/271 983s ok 391 /regex/match/count-optimized/272 983s ok 392 /regex/match/count-optimized/273 983s ok 393 /regex/match/count-optimized/274 983s ok 394 /regex/match/count-optimized/275 983s ok 395 /regex/match/count-optimized/276 983s ok 396 /regex/match/count-optimized/277 983s ok 397 /regex/match/count-optimized/278 983s ok 398 /regex/match/count-optimized/279 983s ok 399 /regex/match/count-optimized/280 983s # End of count-optimized tests 983s # Start of partial-optimized tests 983s ok 400 /regex/match/partial-optimized/281 983s ok 401 /regex/match/partial-optimized/282 983s ok 402 /regex/match/partial-optimized/283 983s ok 403 /regex/match/partial-optimized/284 983s ok 404 /regex/match/partial-optimized/285 983s ok 405 /regex/match/partial-optimized/286 983s ok 406 /regex/match/partial-optimized/287 983s ok 407 /regex/match/partial-optimized/288 983s ok 408 /regex/match/partial-optimized/289 983s ok 409 /regex/match/partial-optimized/290 983s ok 410 /regex/match/partial-optimized/291 983s ok 411 /regex/match/partial-optimized/292 983s ok 412 /regex/match/partial-optimized/293 983s ok 413 /regex/match/partial-optimized/294 983s ok 414 /regex/match/partial-optimized/295 983s ok 415 /regex/match/partial-optimized/296 983s ok 416 /regex/match/partial-optimized/297 983s ok 417 /regex/match/partial-optimized/298 983s ok 418 /regex/match/partial-optimized/299 983s ok 419 /regex/match/partial-optimized/300 983s ok 420 /regex/match/partial-optimized/301 983s ok 421 /regex/match/partial-optimized/302 983s # End of partial-optimized tests 983s # Start of subpattern tests 983s ok 422 /regex/match/subpattern/303 983s ok 423 /regex/match/subpattern/304 983s ok 424 /regex/match/subpattern/305 983s ok 425 /regex/match/subpattern/306 983s ok 426 /regex/match/subpattern/307 983s ok 427 /regex/match/subpattern/308 983s ok 428 /regex/match/subpattern/309 983s ok 429 /regex/match/subpattern/310 983s ok 430 /regex/match/subpattern/311 983s ok 431 /regex/match/subpattern/312 983s ok 432 /regex/match/subpattern/313 983s ok 433 /regex/match/subpattern/314 983s ok 434 /regex/match/subpattern/315 983s # Start of named tests 983s # Start of dupnames tests 983s ok 435 /regex/match/subpattern/named/dupnames/325 983s ok 436 /regex/match/subpattern/named/dupnames/326 983s ok 437 /regex/match/subpattern/named/dupnames/327 983s ok 438 /regex/match/subpattern/named/dupnames/328 983s ok 439 /regex/match/subpattern/named/dupnames/329 983s # End of dupnames tests 983s # End of named tests 983s # End of subpattern tests 983s # Start of subpattern-optimized tests 983s ok 440 /regex/match/subpattern-optimized/303 983s ok 441 /regex/match/subpattern-optimized/304 983s ok 442 /regex/match/subpattern-optimized/305 983s ok 443 /regex/match/subpattern-optimized/306 983s ok 444 /regex/match/subpattern-optimized/307 983s ok 445 /regex/match/subpattern-optimized/308 983s ok 446 /regex/match/subpattern-optimized/309 983s ok 447 /regex/match/subpattern-optimized/310 983s ok 448 /regex/match/subpattern-optimized/311 983s ok 449 /regex/match/subpattern-optimized/312 983s ok 450 /regex/match/subpattern-optimized/313 983s ok 451 /regex/match/subpattern-optimized/314 983s ok 452 /regex/match/subpattern-optimized/315 983s # End of subpattern-optimized tests 983s # Start of named tests 983s # Start of subpattern tests 983s ok 453 /regex/match/named/subpattern/316 983s ok 454 /regex/match/named/subpattern/317 983s ok 455 /regex/match/named/subpattern/318 983s ok 456 /regex/match/named/subpattern/319 983s ok 457 /regex/match/named/subpattern/320 983s ok 458 /regex/match/named/subpattern/321 983s ok 459 /regex/match/named/subpattern/322 983s ok 460 /regex/match/named/subpattern/323 983s ok 461 /regex/match/named/subpattern/324 983s ok 462 /regex/match/named/subpattern/330 983s ok 463 /regex/match/named/subpattern/331 983s ok 464 /regex/match/named/subpattern/332 983s ok 465 /regex/match/named/subpattern/333 983s ok 466 /regex/match/named/subpattern/334 983s # End of subpattern tests 983s # End of named tests 983s # End of match tests 983s # Start of match-optimized tests 983s ok 467 /regex/match-optimized/165 983s ok 468 /regex/match-optimized/166 983s ok 469 /regex/match-optimized/167 983s ok 470 /regex/match-optimized/168 983s ok 471 /regex/match-optimized/169 983s ok 472 /regex/match-optimized/170 983s ok 473 /regex/match-optimized/171 983s ok 474 /regex/match-optimized/172 983s ok 475 /regex/match-optimized/173 983s ok 476 /regex/match-optimized/174 983s ok 477 /regex/match-optimized/175 983s ok 478 /regex/match-optimized/176 983s ok 479 /regex/match-optimized/177 983s ok 480 /regex/match-optimized/178 983s ok 481 /regex/match-optimized/179 983s ok 482 /regex/match-optimized/180 983s ok 483 /regex/match-optimized/181 983s ok 484 /regex/match-optimized/182 983s ok 485 /regex/match-optimized/183 983s ok 486 /regex/match-optimized/184 983s ok 487 /regex/match-optimized/185 983s ok 488 /regex/match-optimized/186 983s ok 489 /regex/match-optimized/187 983s ok 490 /regex/match-optimized/188 983s ok 491 /regex/match-optimized/189 983s ok 492 /regex/match-optimized/190 983s ok 493 /regex/match-optimized/191 983s ok 494 /regex/match-optimized/192 983s ok 495 /regex/match-optimized/193 983s ok 496 /regex/match-optimized/194 983s ok 497 /regex/match-optimized/195 983s ok 498 /regex/match-optimized/196 983s ok 499 /regex/match-optimized/197 983s ok 500 /regex/match-optimized/198 983s ok 501 /regex/match-optimized/199 983s ok 502 /regex/match-optimized/200 983s ok 503 /regex/match-optimized/201 983s ok 504 /regex/match-optimized/202 983s ok 505 /regex/match-optimized/203 983s ok 506 /regex/match-optimized/204 983s ok 507 /regex/match-optimized/205 983s ok 508 /regex/match-optimized/206 983s ok 509 /regex/match-optimized/207 983s ok 510 /regex/match-optimized/208 983s ok 511 /regex/match-optimized/209 983s ok 512 /regex/match-optimized/210 983s ok 513 /regex/match-optimized/211 983s ok 514 /regex/match-optimized/212 983s ok 515 /regex/match-optimized/213 983s ok 516 /regex/match-optimized/214 983s ok 517 /regex/match-optimized/215 983s ok 518 /regex/match-optimized/216 983s ok 519 /regex/match-optimized/217 983s ok 520 /regex/match-optimized/218 983s ok 521 /regex/match-optimized/219 983s ok 522 /regex/match-optimized/220 983s ok 523 /regex/match-optimized/221 983s ok 524 /regex/match-optimized/222 983s ok 525 /regex/match-optimized/223 983s ok 526 /regex/match-optimized/224 983s ok 527 /regex/match-optimized/225 983s ok 528 /regex/match-optimized/226 983s ok 529 /regex/match-optimized/227 983s ok 530 /regex/match-optimized/228 983s ok 531 /regex/match-optimized/229 983s ok 532 /regex/match-optimized/230 983s ok 533 /regex/match-optimized/231 983s ok 534 /regex/match-optimized/232 983s ok 535 /regex/match-optimized/233 983s ok 536 /regex/match-optimized/234 983s ok 537 /regex/match-optimized/235 983s ok 538 /regex/match-optimized/236 983s ok 539 /regex/match-optimized/237 983s ok 540 /regex/match-optimized/238 983s ok 541 /regex/match-optimized/239 983s ok 542 /regex/match-optimized/240 983s ok 543 /regex/match-optimized/241 983s ok 544 /regex/match-optimized/242 983s ok 545 /regex/match-optimized/243 983s ok 546 /regex/match-optimized/244 983s ok 547 /regex/match-optimized/245 983s ok 548 /regex/match-optimized/246 983s # End of match-optimized tests 983s # Start of fetch-all0 tests 983s ok 549 /regex/fetch-all0/335 983s ok 550 /regex/fetch-all0/336 983s # End of fetch-all0 tests 983s # Start of fetch-all1 tests 983s ok 551 /regex/fetch-all1/337 983s ok 552 /regex/fetch-all1/338 983s ok 553 /regex/fetch-all1/339 983s # End of fetch-all1 tests 983s # Start of fetch-all2 tests 983s ok 554 /regex/fetch-all2/340 983s ok 555 /regex/fetch-all2/341 983s ok 556 /regex/fetch-all2/342 983s # End of fetch-all2 tests 983s # Start of fetch-all3 tests 983s ok 557 /regex/fetch-all3/343 983s ok 558 /regex/fetch-all3/344 983s ok 559 /regex/fetch-all3/345 983s ok 560 /regex/fetch-all3/346 983s ok 561 /regex/fetch-all3/347 983s # End of fetch-all3 tests 983s # Start of split tests 983s # Start of simple0 tests 983s ok 562 /regex/split/simple0/348 983s ok 563 /regex/split/simple0/349 983s ok 564 /regex/split/simple0/364 983s ok 565 /regex/split/simple0/365 983s # End of simple0 tests 983s # Start of simple1 tests 983s ok 566 /regex/split/simple1/350 983s ok 567 /regex/split/simple1/351 983s # End of simple1 tests 983s # Start of simple2 tests 983s ok 568 /regex/split/simple2/352 983s ok 569 /regex/split/simple2/358 983s ok 570 /regex/split/simple2/360 983s # End of simple2 tests 983s # Start of simple3 tests 983s ok 571 /regex/split/simple3/353 983s ok 572 /regex/split/simple3/354 983s ok 573 /regex/split/simple3/355 983s ok 574 /regex/split/simple3/356 983s ok 575 /regex/split/simple3/357 983s ok 576 /regex/split/simple3/359 983s ok 577 /regex/split/simple3/361 983s ok 578 /regex/split/simple3/362 983s ok 579 /regex/split/simple3/363 983s # End of simple3 tests 983s # End of split tests 983s # Start of split0 tests 983s ok 580 /regex/split0/366 983s ok 581 /regex/split0/368 983s # End of split0 tests 983s # Start of full-split0 tests 983s ok 582 /regex/full-split0/367 983s ok 583 /regex/full-split0/369 983s ok 584 /regex/full-split0/370 983s ok 585 /regex/full-split0/371 983s ok 586 /regex/full-split0/372 983s # End of full-split0 tests 983s # Start of split1 tests 983s ok 587 /regex/split1/373 983s ok 588 /regex/split1/376 983s # End of split1 tests 983s # Start of full-split1 tests 983s ok 589 /regex/full-split1/374 983s ok 590 /regex/full-split1/375 983s ok 591 /regex/full-split1/377 983s ok 592 /regex/full-split1/378 983s ok 593 /regex/full-split1/404 983s # End of full-split1 tests 983s # Start of split2 tests 983s ok 594 /regex/split2/379 983s ok 595 /regex/split2/383 983s ok 596 /regex/split2/395 983s # End of split2 tests 983s # Start of full-split2 tests 983s ok 597 /regex/full-split2/380 983s ok 598 /regex/full-split2/381 983s ok 599 /regex/full-split2/382 983s ok 600 /regex/full-split2/384 983s ok 601 /regex/full-split2/396 983s ok 602 /regex/full-split2/399 983s ok 603 /regex/full-split2/405 983s # End of full-split2 tests 983s # Start of split3 tests 983s ok 604 /regex/split3/385 983s ok 605 /regex/split3/387 983s ok 606 /regex/split3/389 983s ok 607 /regex/split3/391 983s ok 608 /regex/split3/393 983s ok 609 /regex/split3/397 983s ok 610 /regex/split3/400 983s ok 611 /regex/split3/402 983s # End of split3 tests 983s # Start of full-split3 tests 983s ok 612 /regex/full-split3/386 983s ok 613 /regex/full-split3/388 983s ok 614 /regex/full-split3/390 983s ok 615 /regex/full-split3/392 983s ok 616 /regex/full-split3/394 983s ok 617 /regex/full-split3/398 983s ok 618 /regex/full-split3/401 983s ok 619 /regex/full-split3/403 983s ok 620 /regex/full-split3/406 983s ok 621 /regex/full-split3/407 983s # End of full-split3 tests 983s # Start of check-repacement tests 983s ok 622 /regex/check-repacement/408 983s ok 623 /regex/check-repacement/409 983s ok 624 /regex/check-repacement/410 983s ok 625 /regex/check-repacement/411 983s ok 626 /regex/check-repacement/412 983s ok 627 /regex/check-repacement/413 983s ok 628 /regex/check-repacement/414 983s ok 629 /regex/check-repacement/415 983s # End of check-repacement tests 983s # Start of expand tests 983s ok 630 /regex/expand/416 983s ok 631 /regex/expand/417 983s ok 632 /regex/expand/418 983s ok 633 /regex/expand/419 983s ok 634 /regex/expand/420 983s ok 635 /regex/expand/421 983s ok 636 /regex/expand/422 983s ok 637 /regex/expand/423 983s ok 638 /regex/expand/424 983s ok 639 /regex/expand/425 983s ok 640 /regex/expand/426 983s ok 641 /regex/expand/427 983s ok 642 /regex/expand/428 983s ok 643 /regex/expand/429 983s ok 644 /regex/expand/430 983s ok 645 /regex/expand/431 983s ok 646 /regex/expand/432 983s ok 647 /regex/expand/433 983s ok 648 /regex/expand/434 983s ok 649 /regex/expand/435 983s ok 650 /regex/expand/436 983s ok 651 /regex/expand/437 983s ok 652 /regex/expand/438 983s ok 653 /regex/expand/439 983s ok 654 /regex/expand/440 983s ok 655 /regex/expand/441 983s ok 656 /regex/expand/442 983s ok 657 /regex/expand/443 983s ok 658 /regex/expand/444 983s ok 659 /regex/expand/445 983s ok 660 /regex/expand/446 983s ok 661 /regex/expand/447 983s ok 662 /regex/expand/448 983s ok 663 /regex/expand/449 983s ok 664 /regex/expand/450 983s ok 665 /regex/expand/451 983s ok 666 /regex/expand/452 983s ok 667 /regex/expand/453 983s ok 668 /regex/expand/454 983s ok 669 /regex/expand/455 983s ok 670 /regex/expand/456 983s ok 671 /regex/expand/457 983s ok 672 /regex/expand/458 983s ok 673 /regex/expand/459 983s ok 674 /regex/expand/460 983s ok 675 /regex/expand/461 983s ok 676 /regex/expand/462 983s ok 677 /regex/expand/463 983s ok 678 /regex/expand/464 983s ok 679 /regex/expand/465 983s ok 680 /regex/expand/466 983s ok 681 /regex/expand/467 983s ok 682 /regex/expand/468 983s ok 683 /regex/expand/469 983s ok 684 /regex/expand/470 983s ok 685 /regex/expand/471 983s ok 686 /regex/expand/472 983s ok 687 /regex/expand/473 983s ok 688 /regex/expand/474 983s ok 689 /regex/expand/475 983s ok 690 /regex/expand/476 983s ok 691 /regex/expand/477 983s ok 692 /regex/expand/478 983s ok 693 /regex/expand/479 983s ok 694 /regex/expand/480 983s ok 695 /regex/expand/481 983s # End of expand tests 983s # Start of replace tests 983s ok 696 /regex/replace/482 983s ok 697 /regex/replace/483 983s ok 698 /regex/replace/484 983s ok 699 /regex/replace/485 983s ok 700 /regex/replace/486 983s ok 701 /regex/replace/487 983s ok 702 /regex/replace/488 983s ok 703 /regex/replace/489 983s ok 704 /regex/replace/490 983s ok 705 /regex/replace/491 983s ok 706 /regex/replace/492 983s ok 707 /regex/replace/493 983s ok 708 /regex/replace/494 983s ok 709 /regex/replace/495 983s ok 710 /regex/replace/496 983s ok 711 /regex/replace/497 983s ok 712 /regex/replace/498 983s ok 713 /regex/replace/499 983s ok 714 /regex/replace/500 983s ok 715 /regex/replace/501 983s ok 716 /regex/replace/502 983s ok 717 /regex/replace/503 983s ok 718 /regex/replace/504 983s ok 719 /regex/replace/505 983s ok 720 /regex/replace/506 983s ok 721 /regex/replace/507 983s ok 722 /regex/replace/508 983s ok 723 /regex/replace/509 983s # End of replace tests 983s # Start of replace-optimized tests 983s ok 724 /regex/replace-optimized/482 983s ok 725 /regex/replace-optimized/483 983s ok 726 /regex/replace-optimized/484 983s ok 727 /regex/replace-optimized/485 983s ok 728 /regex/replace-optimized/486 983s ok 729 /regex/replace-optimized/487 983s ok 730 /regex/replace-optimized/488 983s ok 731 /regex/replace-optimized/489 983s ok 732 /regex/replace-optimized/490 983s ok 733 /regex/replace-optimized/491 983s ok 734 /regex/replace-optimized/492 983s ok 735 /regex/replace-optimized/493 983s ok 736 /regex/replace-optimized/494 983s ok 737 /regex/replace-optimized/495 983s ok 738 /regex/replace-optimized/496 983s ok 739 /regex/replace-optimized/497 983s ok 740 /regex/replace-optimized/498 983s ok 741 /regex/replace-optimized/499 983s ok 742 /regex/replace-optimized/500 983s ok 743 /regex/replace-optimized/501 983s ok 744 /regex/replace-optimized/502 983s ok 745 /regex/replace-optimized/503 983s ok 746 /regex/replace-optimized/504 983s ok 747 /regex/replace-optimized/505 983s ok 748 /regex/replace-optimized/506 983s ok 749 /regex/replace-optimized/507 983s ok 750 /regex/replace-optimized/508 983s ok 751 /regex/replace-optimized/509 983s # End of replace-optimized tests 983s # Start of replace-literally tests 983s ok 752 /regex/replace-literally/510 983s ok 753 /regex/replace-literally/511 983s ok 754 /regex/replace-literally/512 983s ok - glib/regex.test 983s # Running test: glib/sort.test 983s ok 755 /regex/replace-literally/513 983s ok 756 /regex/replace-literally/514 983s ok 757 /regex/replace-literally/515 983s ok 758 /regex/replace-literally/516 983s ok 759 /regex/replace-literally/517 983s ok 760 /regex/replace-literally/518 983s ok 761 /regex/replace-literally/519 983s ok 762 /regex/replace-literally/520 983s ok 763 /regex/replace-literally/521 983s ok 764 /regex/replace-literally/522 983s ok 765 /regex/replace-literally/523 983s ok 766 /regex/replace-literally/524 983s ok 767 /regex/replace-literally/525 983s ok 768 /regex/replace-literally/526 983s ok 769 /regex/replace-literally/527 983s ok 770 /regex/replace-literally/528 983s ok 771 /regex/replace-literally/529 983s # End of replace-literally tests 983s # Start of string-number tests 983s ok 772 /regex/string-number/530 983s ok 773 /regex/string-number/531 983s ok 774 /regex/string-number/532 983s ok 775 /regex/string-number/533 983s ok 776 /regex/string-number/534 983s ok 777 /regex/string-number/535 983s ok 778 /regex/string-number/536 983s ok 779 /regex/string-number/537 983s ok 780 /regex/string-number/538 983s ok 781 /regex/string-number/539 983s ok 782 /regex/string-number/540 983s ok 783 /regex/string-number/541 983s ok 784 /regex/string-number/542 983s ok 785 /regex/string-number/543 983s ok 786 /regex/string-number/544 983s # End of string-number tests 983s # Start of escape_nul tests 983s ok 787 /regex/escape_nul/545 983s ok 788 /regex/escape_nul/546 983s ok 789 /regex/escape_nul/547 983s ok 790 /regex/escape_nul/548 983s ok 791 /regex/escape_nul/549 983s ok 792 /regex/escape_nul/550 983s ok 793 /regex/escape_nul/551 983s ok 794 /regex/escape_nul/552 983s ok 795 /regex/escape_nul/553 983s ok 796 /regex/escape_nul/554 983s ok 797 /regex/escape_nul/555 983s ok 798 /regex/escape_nul/556 983s ok 799 /regex/escape_nul/557 983s ok 800 /regex/escape_nul/558 983s ok 801 /regex/escape_nul/559 983s # End of escape_nul tests 983s # Start of escape tests 983s ok 802 /regex/escape/560 983s ok 803 /regex/escape/561 983s ok 804 /regex/escape/562 983s ok 805 /regex/escape/563 983s ok 806 /regex/escape/564 983s ok 807 /regex/escape/565 983s ok 808 /regex/escape/566 983s ok 809 /regex/escape/567 983s ok 810 /regex/escape/568 983s ok 811 /regex/escape/569 983s ok 812 /regex/escape/570 983s ok 813 /regex/escape/571 983s ok 814 /regex/escape/572 983s ok 815 /regex/escape/573 983s ok 816 /regex/escape/574 983s ok 817 /regex/escape/575 983s ok 818 /regex/escape/576 983s ok 819 /regex/escape/577 983s # End of escape tests 983s # Start of match-all0 tests 983s ok 820 /regex/match-all0/578 983s ok 821 /regex/match-all0/580 983s # End of match-all0 tests 983s # Start of match-all-full0 tests 983s ok 822 /regex/match-all-full0/579 983s ok 823 /regex/match-all-full0/581 983s ok 824 /regex/match-all-full0/582 983s ok 825 /regex/match-all-full0/583 983s # End of match-all-full0 tests 983s # Start of match-all1 tests 983s ok 826 /regex/match-all1/584 983s ok 827 /regex/match-all1/586 983s ok 828 /regex/match-all1/591 983s # End of match-all1 tests 983s # Start of match-all-full1 tests 983s ok 829 /regex/match-all-full1/585 983s ok 830 /regex/match-all-full1/587 983s ok 831 /regex/match-all-full1/588 983s ok 832 /regex/match-all-full1/589 983s ok 833 /regex/match-all-full1/590 983s ok 834 /regex/match-all-full1/592 983s # End of match-all-full1 tests 983s # Start of match-all2 tests 983s ok 835 /regex/match-all2/593 983s ok 836 /regex/match-all2/595 983s ok 837 /regex/match-all2/597 983s # End of match-all2 tests 983s # Start of match-all-full2 tests 983s ok 838 /regex/match-all-full2/594 983s ok 839 /regex/match-all-full2/596 983s ok 840 /regex/match-all-full2/598 983s # End of match-all-full2 tests 983s # Start of match-all3 tests 983s ok 841 /regex/match-all3/599 983s ok 842 /regex/match-all3/601 983s # End of match-all3 tests 983s # Start of match-all-full3 tests 983s ok 843 /regex/match-all-full3/600 983s ok 844 /regex/match-all-full3/602 983s # End of match-all-full3 tests 983s # Start of match-notempty tests 983s ok 845 /regex/match-notempty/603 983s # End of match-notempty tests 983s # Start of match-notempty-optimized tests 983s ok 846 /regex/match-notempty-optimized/603 983s # End of match-notempty-optimized tests 983s # Start of match-notempty-atstart tests 983s ok 847 /regex/match-notempty-atstart/604 983s # End of match-notempty-atstart tests 983s # Start of match-notempty-atstart-optimized tests 983s ok 848 /regex/match-notempty-atstart-optimized/604 983s # End of match-notempty-atstart-optimized tests 983s # End of regex tests 983s TAP version 14 983s # random seed: R02S1068109a3822a3a9af4578dc51b4d635 983s 1..5 983s # Start of sort tests 983s ok 1 /sort/basic 983s ok 2 /sort/zero-elements 983s ok 3 /sort/stable 983s ok 4 /sort/big 983s ok 5 /sort/deprecated 983s # End of sort tests 983s ok - glib/sort.test 983s # Running test: glib/unix-mounts.test 983s TAP version 14 983s # random seed: R02S79009939c8a07565e2c282d6ee566b55 983s 1..4 983s # Start of unix-mounts tests 983s ok 1 /unix-mounts/is-system-fs-type 983s ok - glib/unix-mounts.test 983s # Running test: glib/gdbus-proxy-well-known-name.test 983s ok - glib/gdbus-proxy-well-known-name.test 983s # Running test: glib/permission.test 983s ok - glib/permission.test 983s # Running test: glib/cond.test 983s ok 2 /unix-mounts/is-system-device-path 983s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 983s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 983s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 983s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 983s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 983s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 983s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 983s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 983s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 983s ok 3 /unix-mounts/get-mount-points 983s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 983s ok 4 /unix-mounts/get-mount-entries 983s # End of unix-mounts tests 983s TAP version 14 983s # random seed: R02Sfbaaa6b448c01b932a4b0f68947b7ec8 983s 1..1 983s # Start of gdbus tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_JYR752/gdbus/proxy-well-known-name/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 1 /gdbus/proxy-well-known-name 983s # End of gdbus tests 983s TAP version 14 983s # random seed: R02S5ad0210f230c6bc7e5e33bee1a22752c 983s 1..1 983s # Start of permission tests 983s ok 1 /permission/simple 983s # End of permission tests 983s TAP version 14 983s # random seed: R02S68aee4eb84ab21cbda386b639919c0c8 983s 1..4 983s # Start of thread tests 983s ok 1 /thread/cond1 983s ok 2 /thread/cond2 983s # Start of cond tests 984s ok 3 /thread/cond/wait-until 984s # slow test /thread/cond/wait-until executed in 1.02 secs 984s # Start of wait-until tests 984s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 985s ok 4 /thread/cond/wait-until/contended-and-interrupted 985s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 985s # End of wait-until tests 985s # End of cond tests 985s # End of thread tests 985s ok - glib/cond.test 985s # Running test: glib/gdbus-auth.test 985s TAP version 14 985s # random seed: R02S1ad1a3147b941daf0961996c9bface40 985s 1..5 985s # Start of gdbus tests 985s # Start of auth tests 985s # Start of client tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/EXTERNAL/.dirs/runtime 985s ok - glib/gdbus-auth.test 985s # Running test: glib/gdbus-names.test 985s ok 1 /gdbus/auth/client/EXTERNAL 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 985s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 985s # End of client tests 985s # Start of server tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/ANONYMOUS/.dirs/runtime 985s ok 3 /gdbus/auth/server/ANONYMOUS 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/EXTERNAL/.dirs/runtime 985s ok 4 /gdbus/auth/server/EXTERNAL 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_QD7B62/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 985s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 985s # End of server tests 985s # End of auth tests 985s # End of gdbus tests 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s TAP version 14 985s # random seed: R02Sec11f5ae3916890532d57538158b47f6 985s 1..10 985s # Start of gdbus tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/validate-names/.dirs/runtime 985s ok 1 /gdbus/validate-names 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-own-name/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 2 /gdbus/bus-own-name 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 3 /gdbus/bus-watch-name 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 4 /gdbus/bus-watch-name-auto-start 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s dbus-daemon[11699]: [session uid=1000 pid=11699 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=11690 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 985s # Acquired a message bus connection 985s dbus-daemon[11699]: [session uid=1000 pid=11699 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 985s # Acquired the name org.gtk.GDBus.FakeService 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 6 /gdbus/bus-watch-name-closures 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 7 /gdbus/bus-watch-name-closures-auto-start 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-watch-different-context/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s ok - glib/gdbus-names.test 985s # Running test: glib/hmac.test 985s ok - glib/hmac.test 985s # Running test: glib/dir.test 985s ok - glib/dir.test 985s # Running test: glib/relation.test 985s ok - glib/relation.test 985s # Running test: glib/utf8-validate.test 985s ok - glib/utf8-validate.test 985s # Running test: glib/gdbus-export.test 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 8 /gdbus/bus-watch-different-context 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/bus-unwatch-early/.dirs/runtime 985s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 9 /gdbus/bus-unwatch-early 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_9FJC62/gdbus/escape-object-path/.dirs/runtime 985s ok 10 /gdbus/escape-object-path 985s # End of gdbus tests 985s TAP version 14 985s # random seed: R02Sffba3ded1e53ea4494e96ced0a49cdb8 985s 1..37 985s # Start of hmac tests 985s ok 1 /hmac/sha1-1 985s ok 2 /hmac/sha1-2 985s ok 3 /hmac/sha1-3 985s ok 4 /hmac/sha1-4 985s ok 5 /hmac/sha1-5 985s ok 6 /hmac/sha1-6 985s ok 7 /hmac/sha1-7 985s ok 8 /hmac/sha256-1 985s ok 9 /hmac/sha256-2 985s ok 10 /hmac/sha256-3 985s ok 11 /hmac/sha256-4 985s ok 12 /hmac/sha256-5 985s ok 13 /hmac/sha256-6 985s ok 14 /hmac/sha384-1 985s ok 15 /hmac/sha384-2 985s ok 16 /hmac/sha384-3 985s ok 17 /hmac/sha384-4 985s ok 18 /hmac/sha384-5 985s ok 19 /hmac/sha384-6 985s ok 20 /hmac/sha512-1 985s ok 21 /hmac/sha512-2 985s ok 22 /hmac/sha512-3 985s ok 23 /hmac/sha512-4 985s ok 24 /hmac/sha512-5 985s ok 25 /hmac/sha512-6 985s ok 26 /hmac/md5-1 985s ok 27 /hmac/md5-2 985s ok 28 /hmac/md5-3 985s ok 29 /hmac/md5-4 985s ok 30 /hmac/md5-5 985s ok 31 /hmac/md5-6 985s ok 32 /hmac/md5-7 985s ok 33 /hmac/ref-unref 985s ok 34 /hmac/copy 985s ok 35 /hmac/for-data 985s ok 36 /hmac/for-string 985s ok 37 /hmac/for-bytes 985s # End of hmac tests 985s TAP version 14 985s # random seed: R02S192d61617401c07b908d5ee6042030ba 985s 1..3 985s # Start of dir tests 985s ok 1 /dir/read 985s ok 2 /dir/nonexisting 985s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 985s ok 3 /dir/refcounting 985s # End of dir tests 985s TAP version 14 985s # random seed: R02S5603ce1900acbc0dc072d1dff2b490c7 985s 1..1 985s # Start of glib tests 985s ok 1 /glib/relation 985s # End of glib tests 985s TAP version 14 985s # random seed: R02S75af46ce74cda07a22eda9a4f32a3a92 985s 1..238 985s # Start of utf8 tests 985s # Vector 0 985s # Vector 1 985s # Vector 2 985s # Vector 3 985s # Vector 4 985s # Vector 5 985s # Vector 6 985s # Vector 7 985s # Vector 8 985s # Vector 9 985s # Vector 10 985s # Vector 11 985s # Vector 12 985s # Vector 13 985s # Vector 14 985s # Vector 15 985s # Vector 16 985s # Vector 17 985s # Vector 18 985s # Vector 19 985s # Vector 20 985s # Vector 21 985s # Vector 22 985s # Vector 23 985s # Vector 24 985s # Vector 25 985s # Vector 26 985s # Vector 27 985s ok 1 /utf8/get-char-validated 985s # Start of validate tests 985s ok 2 /utf8/validate/0 985s ok 3 /utf8/validate/1 985s ok 4 /utf8/validate/2 985s ok 5 /utf8/validate/3 985s ok 6 /utf8/validate/4 985s ok 7 /utf8/validate/5 985s ok 8 /utf8/validate/6 985s ok 9 /utf8/validate/7 985s ok 10 /utf8/validate/8 985s ok 11 /utf8/validate/9 985s ok 12 /utf8/validate/10 985s ok 13 /utf8/validate/11 985s ok 14 /utf8/validate/12 985s ok 15 /utf8/validate/13 985s ok 16 /utf8/validate/14 985s ok 17 /utf8/validate/15 985s ok 18 /utf8/validate/16 985s ok 19 /utf8/validate/17 985s ok 20 /utf8/validate/18 985s ok 21 /utf8/validate/19 985s ok 22 /utf8/validate/20 985s ok 23 /utf8/validate/21 985s ok 24 /utf8/validate/22 985s ok 25 /utf8/validate/23 985s ok 26 /utf8/validate/24 985s ok 27 /utf8/validate/25 985s ok 28 /utf8/validate/26 985s ok 29 /utf8/validate/27 985s ok 30 /utf8/validate/28 985s ok 31 /utf8/validate/29 985s ok 32 /utf8/validate/30 985s ok 33 /utf8/validate/31 985s ok 34 /utf8/validate/32 985s ok 35 /utf8/validate/33 985s ok 36 /utf8/validate/34 985s ok 37 /utf8/validate/35 985s ok 38 /utf8/validate/36 985s ok 39 /utf8/validate/37 985s ok 40 /utf8/validate/38 985s ok 41 /utf8/validate/39 985s ok 42 /utf8/validate/40 985s ok 43 /utf8/validate/41 985s ok 44 /utf8/validate/42 985s ok 45 /utf8/validate/43 985s ok 46 /utf8/validate/44 985s ok 47 /utf8/validate/45 985s ok 48 /utf8/validate/46 985s ok 49 /utf8/validate/47 985s ok 50 /utf8/validate/48 985s ok 51 /utf8/validate/49 985s ok 52 /utf8/validate/50 985s ok 53 /utf8/validate/51 985s ok 54 /utf8/validate/52 985s ok 55 /utf8/validate/53 985s ok 56 /utf8/validate/54 985s ok 57 /utf8/validate/55 985s ok 58 /utf8/validate/56 985s ok 59 /utf8/validate/57 985s ok 60 /utf8/validate/58 985s ok 61 /utf8/validate/59 985s ok 62 /utf8/validate/60 985s ok 63 /utf8/validate/61 985s ok 64 /utf8/validate/62 985s ok 65 /utf8/validate/63 985s ok 66 /utf8/validate/64 985s ok 67 /utf8/validate/65 985s ok 68 /utf8/validate/66 985s ok 69 /utf8/validate/67 985s ok 70 /utf8/validate/68 985s ok 71 /utf8/validate/69 985s ok 72 /utf8/validate/70 985s ok 73 /utf8/validate/71 985s ok 74 /utf8/validate/72 985s ok 75 /utf8/validate/73 985s ok 76 /utf8/validate/74 985s ok 77 /utf8/validate/75 985s ok 78 /utf8/validate/76 985s ok 79 /utf8/validate/77 985s ok 80 /utf8/validate/78 985s ok 81 /utf8/validate/79 985s ok 82 /utf8/validate/80 985s ok 83 /utf8/validate/81 985s ok 84 /utf8/validate/82 985s ok 85 /utf8/validate/83 985s ok 86 /utf8/validate/84 985s ok 87 /utf8/validate/85 985s ok 88 /utf8/validate/86 985s ok 89 /utf8/validate/87 985s ok 90 /utf8/validate/88 985s ok 91 /utf8/validate/89 985s ok 92 /utf8/validate/90 985s ok 93 /utf8/validate/91 985s ok 94 /utf8/validate/92 985s ok 95 /utf8/validate/93 985s ok 96 /utf8/validate/94 985s ok 97 /utf8/validate/95 985s ok 98 /utf8/validate/96 985s ok 99 /utf8/validate/97 985s ok 100 /utf8/validate/98 985s ok 101 /utf8/validate/99 985s ok 102 /utf8/validate/100 985s ok 103 /utf8/validate/101 985s ok 104 /utf8/validate/102 985s ok 105 /utf8/validate/103 985s ok 106 /utf8/validate/104 985s ok 107 /utf8/validate/105 985s ok 108 /utf8/validate/106 985s ok 109 /utf8/validate/107 985s ok 110 /utf8/validate/108 985s ok 111 /utf8/validate/109 985s ok 112 /utf8/validate/110 985s ok 113 /utf8/validate/111 985s ok 114 /utf8/validate/112 985s ok 115 /utf8/validate/113 985s ok 116 /utf8/validate/114 985s ok 117 /utf8/validate/115 985s ok 118 /utf8/validate/116 985s ok 119 /utf8/validate/117 985s ok 120 /utf8/validate/118 985s ok 121 /utf8/validate/119 985s ok 122 /utf8/validate/120 985s ok 123 /utf8/validate/121 985s ok 124 /utf8/validate/122 985s ok 125 /utf8/validate/123 985s ok 126 /utf8/validate/124 985s ok 127 /utf8/validate/125 985s ok 128 /utf8/validate/126 985s ok 129 /utf8/validate/127 985s ok 130 /utf8/validate/128 985s ok 131 /utf8/validate/129 985s ok 132 /utf8/validate/130 985s ok 133 /utf8/validate/131 985s ok 134 /utf8/validate/132 985s ok 135 /utf8/validate/133 985s ok 136 /utf8/validate/134 985s ok 137 /utf8/validate/135 985s ok 138 /utf8/validate/136 985s ok 139 /utf8/validate/137 985s ok 140 /utf8/validate/138 985s ok 141 /utf8/validate/139 985s ok 142 /utf8/validate/140 985s ok 143 /utf8/validate/141 985s ok 144 /utf8/validate/142 985s ok 145 /utf8/validate/143 985s ok 146 /utf8/validate/144 985s ok 147 /utf8/validate/145 985s ok 148 /utf8/validate/146 985s ok 149 /utf8/validate/147 985s ok 150 /utf8/validate/148 985s ok 151 /utf8/validate/149 985s ok 152 /utf8/validate/150 985s ok 153 /utf8/validate/151 985s ok 154 /utf8/validate/152 985s ok 155 /utf8/validate/153 985s ok 156 /utf8/validate/154 985s ok 157 /utf8/validate/155 985s ok 158 /utf8/validate/156 985s ok 159 /utf8/validate/157 985s ok 160 /utf8/validate/158 985s ok 161 /utf8/validate/159 985s ok 162 /utf8/validate/160 985s ok 163 /utf8/validate/161 985s ok 164 /utf8/validate/162 985s ok 165 /utf8/validate/163 985s ok 166 /utf8/validate/164 985s ok 167 /utf8/validate/165 985s ok 168 /utf8/validate/166 985s ok 169 /utf8/validate/167 985s ok 170 /utf8/validate/168 985s ok 171 /utf8/validate/169 985s ok 172 /utf8/validate/170 985s ok 173 /utf8/validate/171 985s ok 174 /utf8/validate/172 985s ok 175 /utf8/validate/173 985s ok 176 /utf8/validate/174 985s ok 177 /utf8/validate/175 985s ok 178 /utf8/validate/176 985s ok 179 /utf8/validate/177 985s ok 180 /utf8/validate/178 985s ok 181 /utf8/validate/179 985s ok 182 /utf8/validate/180 985s ok 183 /utf8/validate/181 985s ok 184 /utf8/validate/182 985s ok 185 /utf8/validate/183 985s ok 186 /utf8/validate/184 985s ok 187 /utf8/validate/185 985s ok 188 /utf8/validate/186 985s ok 189 /utf8/validate/187 985s ok 190 /utf8/validate/188 985s ok 191 /utf8/validate/189 985s ok 192 /utf8/validate/190 985s ok 193 /utf8/validate/191 985s ok 194 /utf8/validate/192 985s ok 195 /utf8/validate/193 985s ok 196 /utf8/validate/194 985s ok 197 /utf8/validate/195 985s ok 198 /utf8/validate/196 985s ok 199 /utf8/validate/197 985s ok 200 /utf8/validate/198 985s ok 201 /utf8/validate/199 985s ok 202 /utf8/validate/200 985s ok 203 /utf8/validate/201 985s ok 204 /utf8/validate/202 985s ok 205 /utf8/validate/203 985s ok 206 /utf8/validate/204 985s ok 207 /utf8/validate/205 985s ok 208 /utf8/validate/206 985s ok 209 /utf8/validate/207 985s ok 210 /utf8/validate/208 985s ok 211 /utf8/validate/209 985s ok 212 /utf8/validate/210 985s ok 213 /utf8/validate/211 985s ok 214 /utf8/validate/212 985s ok 215 /utf8/validate/213 985s ok 216 /utf8/validate/214 985s ok 217 /utf8/validate/215 985s ok 218 /utf8/validate/216 985s ok 219 /utf8/validate/217 985s ok 220 /utf8/validate/218 985s ok 221 /utf8/validate/219 985s ok 222 /utf8/validate/220 985s ok 223 /utf8/validate/221 985s ok 224 /utf8/validate/222 985s ok 225 /utf8/validate/223 985s ok 226 /utf8/validate/224 985s ok 227 /utf8/validate/225 985s ok 228 /utf8/validate/226 985s ok 229 /utf8/validate/227 985s ok 230 /utf8/validate/228 985s ok 231 /utf8/validate/229 985s ok 232 /utf8/validate/230 985s ok 233 /utf8/validate/231 985s ok 234 /utf8/validate/232 985s ok 235 /utf8/validate/233 985s ok 236 /utf8/validate/234 985s ok 237 /utf8/validate/235 985s ok 238 /utf8/validate/236 985s # End of validate tests 985s # End of utf8 tests 985s TAP version 14 985s # random seed: R02S721e356201da0e45e49388a1a6d3adbc 985s 1..7 985s # Start of gdbus tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration/.dirs/runtime 985s ok 1 /gdbus/object-registration 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures/.dirs/runtime 985s ok 2 /gdbus/object-registration-with-closures 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/object-registration-with-closures2/.dirs/runtime 985s ok 3 /gdbus/object-registration-with-closures2 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/registered-interfaces/.dirs/runtime 985s ok 4 /gdbus/registered-interfaces 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/async-properties/.dirs/runtime 985s ok 5 /gdbus/async-properties 985s # Start of threaded-unregistration tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/object/.dirs/runtime 985s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 985s # /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 986s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (5 iterations with unregistration first, 995 with call first); skipping test 986s # slow test /gdbus/threaded-unregistration/object executed in 1.28 secs 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K3WR52/gdbus/threaded-unregistration/subtree/.dirs/runtime 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 986s # /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 987s # Executing: glib/gdbus-export.test 988s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (8 iterations with unregistration first, 992 with call first); skipping test 988s # slow test /gdbus/threaded-unregistration/subtree executed in 1.38 secs 988s # End of threaded-unregistration tests 988s # End of gdbus tests 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s ok - glib/gdbus-export.test 988s # Running test: glib/assert-msg-test.py.test 988s TAP version 13 988s ok 1 __main__.TestAssertMessage.test_gassert 988s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 988s # tmpdir: /tmp/tmpqckz342u 988s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 988s # Return code: -6 988s # Output: 988s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 988s # Error: 988s # ** 988s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 988s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 988s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 988s # tmpdir: /tmp/tmp9zayj_5v 988s 1..2 988s ok - glib/assert-msg-test.py.test 988s # Running test: glib/contexts.test 988s TAP version 14 988s # random seed: R02S8014ccabbf4f73f68fe821be47f7478f 988s 1..5 988s # Start of gio tests 988s # Start of contexts tests 988s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 988s ok 1 /gio/contexts/thread-independence 988s ok 2 /gio/contexts/context-independence 988s # Start of context-specific tests 988s ok 3 /gio/contexts/context-specific/identity 988s ok 4 /gio/contexts/context-specific/emit 988s ok 5 /gio/contexts/context-specific/emit-and-unref 988s # End of context-specific tests 988s # End of contexts tests 988s # End of gio tests 988s ok - glib/contexts.test 988s # Running test: glib/utf8-performance.test 988s TAP version 14 988s # random seed: R02S852f99ee0d6865ef44849f0e96512199 988s 1..36 988s # Start of utf8 tests 988s # Start of perf tests 988s # Start of get_char tests 988s # max perf: inf MB/s 988s ok 1 /utf8/perf/get_char/ascii 988s # max perf: inf MB/s 988s ok 2 /utf8/perf/get_char/latin1 988s # max perf: inf MB/s 988s ok 3 /utf8/perf/get_char/cyrillic 988s # max perf: inf MB/s 988s ok 4 /utf8/perf/get_char/han 988s # End of get_char tests 988s # Start of get_char-backwards tests 988s # max perf: 43.0 MB/s 988s ok 5 /utf8/perf/get_char-backwards/ascii 988s # max perf: 67.0 MB/s 988s ok 6 /utf8/perf/get_char-backwards/latin1 988s # max perf: 160.0 MB/s 988s ok 7 /utf8/perf/get_char-backwards/cyrillic 988s # max perf: 156.0 MB/s 988s ok 8 /utf8/perf/get_char-backwards/han 988s # End of get_char-backwards tests 988s # Start of get_char_validated tests 988s # max perf: 43.0 MB/s 988s ok 9 /utf8/perf/get_char_validated/ascii 988s # max perf: inf MB/s 988s ok 10 /utf8/perf/get_char_validated/latin1 988s # max perf: 160.0 MB/s 988s ok 11 /utf8/perf/get_char_validated/cyrillic 988s # max perf: 156.0 MB/s 988s ok 12 /utf8/perf/get_char_validated/han 988s # End of get_char_validated tests 988s # Start of utf8_to_ucs4 tests 988s # max perf: 43.0 MB/s 988s ok 13 /utf8/perf/utf8_to_ucs4/ascii 988s # max perf: 67.0 MB/s 988s ok 14 /utf8/perf/utf8_to_ucs4/latin1 988s # max perf: 160.0 MB/s 988s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 988s # max perf: 156.0 MB/s 988s ok 16 /utf8/perf/utf8_to_ucs4/han 988s # End of utf8_to_ucs4 tests 988s # Start of utf8_to_ucs4-sized tests 988s # max perf: inf MB/s 988s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 988s # max perf: 67.0 MB/s 988s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 988s # max perf: 80.0 MB/s 988s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 988s # max perf: 156.0 MB/s 988s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 988s # End of utf8_to_ucs4-sized tests 988s # Start of utf8_to_ucs4_fast tests 988s # max perf: 43.0 MB/s 988s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 988s # max perf: inf MB/s 988s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 988s # max perf: inf MB/s 988s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 988s # max perf: inf MB/s 988s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 988s # End of utf8_to_ucs4_fast tests 988s # Start of utf8_to_ucs4_fast-sized tests 988s ok - glib/utf8-performance.test 988s # Running test: glib/file-thumbnail.test 988s # max perf: inf MB/s 988s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 988s # max perf: 67.0 MB/s 988s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 988s # max perf: 160.0 MB/s 988s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 988s # max perf: inf MB/s 988s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 988s # End of utf8_to_ucs4_fast-sized tests 988s # Start of utf8_validate tests 988s # max perf: inf MB/s 988s ok 29 /utf8/perf/utf8_validate/ascii 988s # max perf: inf MB/s 988s ok 30 /utf8/perf/utf8_validate/latin1 988s # max perf: 160.0 MB/s 988s ok 31 /utf8/perf/utf8_validate/cyrillic 988s # max perf: 156.0 MB/s 988s ok 32 /utf8/perf/utf8_validate/han 988s # End of utf8_validate tests 988s # Start of utf8_validate-sized tests 988s # max perf: inf MB/s 988s ok 33 /utf8/perf/utf8_validate-sized/ascii 988s # max perf: inf MB/s 988s ok 34 /utf8/perf/utf8_validate-sized/latin1 988s # max perf: 160.0 MB/s 988s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 988s # max perf: inf MB/s 988s ok 36 /utf8/perf/utf8_validate-sized/han 988s # End of utf8_validate-sized tests 988s # End of perf tests 988s # End of utf8 tests 988s TAP version 14 988s # random seed: R02S30d53354ec82bfa4635542232595e573 988s 1..7 988s # Start of file-thumbnail tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/runtime 988s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 988s ok 1 /file-thumbnail/fail 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/runtime 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 988s ok 2 /file-thumbnail/size-priority 988s # Start of valid tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/runtime 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 988s ok 3 /file-thumbnail/valid/normal 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/runtime 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 988s ok 4 /file-thumbnail/valid/large 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/runtime 988s ok - glib/file-thumbnail.test 988s # Running test: glib/convert.test 988s ok - glib/convert.test 988s # Running test: glib/socket-listener.test 988s ok - glib/socket-listener.test 988s # Running test: glib/registered-type-info.test 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 988s ok 5 /file-thumbnail/valid/x-large 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/runtime 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 988s ok 6 /file-thumbnail/valid/xx-large 988s # End of valid tests 988s # Start of unknown tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/runtime 988s # Created test thumbnail at /tmp/test_file-thumbnail_L2KC62/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 988s ok 7 /file-thumbnail/unknown/super-large 988s # End of unknown tests 988s # End of file-thumbnail tests 988s TAP version 14 988s # random seed: R02S6894cd188a48560175515eded2fb3210 988s 1..14 988s # Start of conversion tests 988s ok 1 /conversion/no-conv 988s ok 2 /conversion/iconv-state 988s ok 3 /conversion/illegal-sequence 988s ok 4 /conversion/byte-order 988s ok 5 /conversion/unicode 988s ok 6 /conversion/filename-utf8 988s ok 7 /conversion/filename-display 988s ok 8 /conversion/convert-embedded-nul 988s # Start of locale-to-utf8 tests 988s ok 9 /conversion/locale-to-utf8/embedded-nul 988s # Start of embedded-nul tests 988s # Start of subprocess tests 988s # End of subprocess tests 988s # End of embedded-nul tests 988s # End of locale-to-utf8 tests 988s # Start of locale-from-utf8 tests 988s ok 10 /conversion/locale-from-utf8/embedded-nul 988s # Start of embedded-nul tests 988s # Start of subprocess tests 988s # End of subprocess tests 988s # End of embedded-nul tests 988s # End of locale-from-utf8 tests 988s # Start of filename-to-utf8 tests 988s ok 11 /conversion/filename-to-utf8/embedded-nul 988s # Start of embedded-nul tests 988s # Start of subprocess tests 988s # End of subprocess tests 988s # End of embedded-nul tests 988s # End of filename-to-utf8 tests 988s # Start of filename-from-utf8 tests 988s ok 12 /conversion/filename-from-utf8/embedded-nul 988s # Start of embedded-nul tests 988s # Start of subprocess tests 988s # End of subprocess tests 988s # End of embedded-nul tests 988s # End of filename-from-utf8 tests 988s # Start of filename-from-uri tests 988s ok 13 /conversion/filename-from-uri/query-is-ignored 988s ok 14 /conversion/filename-from-uri/fragment-is-ignored 988s # End of filename-from-uri tests 988s # End of conversion tests 988s TAP version 14 988s # random seed: R02S7a81ce0b6ddb12d654b0222df168fd15 988s 1..1 988s # Start of socket-listener tests 988s ok 1 /socket-listener/event-signal 988s # End of socket-listener tests 988s TAP version 14 988s ok - glib/registered-type-info.test 988s # Running test: glib/signalgroup.test 988s ok - glib/signalgroup.test 988s # Running test: glib/signals-refcount2.test 988s # random seed: R02S32014b4b8ddbe20c754c241d333e99b6 988s 1..1 988s # Start of registered-type-info tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_14UQ52/registered-type-info/boxed/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 988s # Expecting CClosure to not be boxed 988s # Expecting TypeCValue to not be boxed 988s # Expecting InitiallyUnownedClass to not be boxed 988s # Expecting BookmarkFile to be boxed 988s # Expecting Closure to be boxed 988s # Expecting Object to not be boxed 988s ok 1 /registered-type-info/boxed 988s # End of registered-type-info tests 988s TAP version 14 988s # random seed: R02Sf9a7dfb1ac6006c75c3ca4e511c8359b 988s 1..9 988s # Start of GObject tests 988s # Start of SignalGroup tests 988s ok 1 /GObject/SignalGroup/invalid 988s ok 2 /GObject/SignalGroup/simple 988s ok 3 /GObject/SignalGroup/changing-target 988s ok 4 /GObject/SignalGroup/blocking 988s ok 5 /GObject/SignalGroup/weak-ref-target 988s ok 6 /GObject/SignalGroup/connect-object 988s ok 7 /GObject/SignalGroup/signal-parsing 988s ok 8 /GObject/SignalGroup/properties 988s ok 9 /GObject/SignalGroup/interface 988s # Start of signal-parsing tests 988s # End of signal-parsing tests 988s # End of SignalGroup tests 988s # End of GObject tests 988s TAP version 14 988s # random seed: R02Sf99dac354b348d67d587296974064a8e 988s 1..1 988s # Start of gobject tests 988s # Start of refcount tests 988s # init 0x5f637a0ddd0 988s # 988s # init 0x5f637a0a310 988s # 992s # Executing: glib/signals-refcount2.test 993s # dispose 0x5f637a0ddd0! 993s # 993s # dispose 0x5f637a0a310! 993s # 993s ok 1 /gobject/refcount/signals 993s # slow test /gobject/refcount/signals executed in 5.00 secs 993s # End of refcount tests 993s # End of gobject tests 993s ok - glib/signals-refcount2.test 993s # Running test: glib/portal-support-snap-classic.test 993s TAP version 14 993s # random seed: R02S07ed1ab6498164ef54a2eabbdef8fa8a 993s 1..3 993s # Start of portal-support tests 993s # Start of snap-classic tests 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl/.dirs/runtime 993s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/no-snapctl: No such file or directory 993s ok 1 /portal-support/snap-classic/no-snapctl 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/runtime 993s # Created snap.yaml in /tmp/test_portal-support-snap-classic_SV6Q52/meta/snap.yaml 993s # Created snapctl in /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none/.dirs/runtime/snapctl 993s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/none: No such file or directory 993s ok 2 /portal-support/snap-classic/none 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/config 993s ok - glib/portal-support-snap-classic.test 993s # Running test: glib/gdbus-bz627724.test 993s ok - glib/gdbus-bz627724.test 993s # Running test: glib/signals-refcount3.test 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/runtime 993s # Created snap.yaml in /tmp/test_portal-support-snap-classic_SV6Q52/meta/snap.yaml 993s # Created snapctl in /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all/.dirs/runtime/snapctl 993s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SV6Q52/portal-support/snap-classic/all: No such file or directory 993s ok 3 /portal-support/snap-classic/all 993s # End of snap-classic tests 993s # End of portal-support tests 993s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SV6Q52: No such file or directory 993s TAP version 14 993s # random seed: R02S28d96cdb8732201bd9b178c3d0f85597 993s 1..1 993s # Start of gdbus tests 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_C78Q52/gdbus/bz627724/.dirs/runtime 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s ok 1 /gdbus/bz627724 993s # End of gdbus tests 993s TAP version 14 993s # random seed: R02S285da7be85e630d3f3c7a1e15b2bbde1 993s 1..1 993s # Start of gobject tests 993s # Start of refcount tests 993s # init 0x81568a3ddd0 993s # 993s # init 0x81568a3a310 993s # 997s # Executing: glib/signals-refcount3.test 998s # dispose 0x81568a3ddd0! 998s # 998s # dispose 0x81568a3a310! 998s # 998s ok 1 /gobject/refcount/signals 998s # slow test /gobject/refcount/signals executed in 5.00 secs 998s # End of refcount tests 998s # End of gobject tests 998s ok - glib/signals-refcount3.test 998s # Running test: glib/atomic-c-89.test 998s TAP version 14 998s # random seed: R02Sb78041f52e936396573e809e37ce986d 998s 1..2 998s # Start of atomic tests 998s ok 1 /atomic/types 998s ok 2 /atomic/threaded 998s # End of atomic tests 998s ok - glib/atomic-c-89.test 998s # Running test: glib/singleton.test 998s TAP version 14 998s # random seed: R02S8376bf2f5c21a48aa2b36600303cfb27 998s 1..2 998s # Start of gobject tests 998s # Start of singleton tests 998s ok 1 /gobject/singleton/construction 998s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 998s ok 2 /gobject/singleton/construct-property 998s # End of singleton tests 998s # End of gobject tests 998s ok - glib/singleton.test 998s # Running test: glib/string.test 998s TAP version 14 998s # random seed: R02S58a7cf648e49805b6d87a39546abffd3 998s 1..23 998s # Start of string tests 998s ok 1 /string/test-string-chunks 998s ok 2 /string/test-string-chunk-insert 998s ok 3 /string/test-string-new 998s ok 4 /string/test-string-printf 998s ok 5 /string/test-string-assign 998s ok 6 /string/test-string-append-c 998s ok 7 /string/test-string-append 998s ok 8 /string/test-string-append-vprintf 998s ok 9 /string/test-string-prepend-c 998s ok 10 /string/test-string-prepend 998s ok - glib/string.test 998s # Running test: glib/markup-subparser.test 998s ok - glib/markup-subparser.test 998s # Running test: glib/tree.test 998s ok - glib/tree.test 998s # Running test: glib/protocol.test 998s ok 11 /string/test-string-insert 998s ok 12 /string/test-string-insert-unichar 998s ok 13 /string/test-string-equal 998s ok 14 /string/test-string-truncate 998s ok 15 /string/test-string-overwrite 998s ok 16 /string/test-string-nul-handling 998s ok 17 /string/test-string-up-down 998s ok 18 /string/test-string-set-size 998s ok 19 /string/test-string-to-bytes 998s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 998s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 998s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 998s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 998s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 998s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 998s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 998s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 998s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 998s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 998s # 5: Replacing "o" with "" (limit 0) in "food for foals" 998s # -> 4 replacements, "fd fr fals" 998s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 998s # -> 3 replacements, "aaaaaaaaa" 998s # 7: Replacing "a" with "" (limit 0) in "aaa" 998s # -> 3 replacements, "" 998s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 998s # -> 1 replacements, "bba" 998s # 9: Replacing "" with "bar" (limit 0) in "foo" 998s # -> 4 replacements, "barfbarobarobar" 998s # 10: Replacing "" with "bar" (limit 1) in "foo" 998s # -> 1 replacements, "barfoo" 998s # 11: Replacing "" with "bar" (limit 2) in "foo" 998s # -> 2 replacements, "barfbaroo" 998s # 12: Replacing "" with "bar" (limit 3) in "foo" 998s # -> 3 replacements, "barfbarobaro" 998s # 13: Replacing "" with "bar" (limit 4) in "foo" 998s # -> 4 replacements, "barfbarobarobar" 998s # 14: Replacing "" with "bar" (limit 5) in "foo" 998s # -> 4 replacements, "barfbarobarobar" 998s # 15: Replacing "" with "x" (limit 0) in "" 998s # -> 1 replacements, "x" 998s # 16: Replacing "" with "" (limit 0) in "" 998s # -> 1 replacements, "" 998s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 998s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 998s ok 20 /string/test-string-replace 998s ok 21 /string/test-string-steal 998s ok 22 /string/test-string-new-take 998s # Start of test-string-new-take tests 998s ok 23 /string/test-string-new-take/null 998s # End of test-string-new-take tests 998s # End of string tests 998s TAP version 14 998s # random seed: R02S3e98ec31936b4459ab176f20340228c2 998s 1..14 998s # Start of glib tests 998s # Start of markup tests 998s # Start of subparser tests 998s # Start of success tests 998s ok 1 /glib/markup/subparser/success/0 998s ok 2 /glib/markup/subparser/success/1 998s ok 3 /glib/markup/subparser/success/2 998s ok 4 /glib/markup/subparser/success/3 998s ok 5 /glib/markup/subparser/success/4 998s ok 6 /glib/markup/subparser/success/5 998s ok 7 /glib/markup/subparser/success/6 998s # End of success tests 998s # Start of failure tests 998s ok 8 /glib/markup/subparser/failure/0 998s ok 9 /glib/markup/subparser/failure/1 998s ok 10 /glib/markup/subparser/failure/2 998s ok 11 /glib/markup/subparser/failure/3 998s ok 12 /glib/markup/subparser/failure/4 998s ok 13 /glib/markup/subparser/failure/5 998s ok 14 /glib/markup/subparser/failure/6 998s # End of failure tests 998s # End of subparser tests 998s # End of markup tests 998s # End of glib tests 998s TAP version 14 998s # random seed: R02S93a9878eea5de41b82a2bfe15d58d96e 998s 1..7 998s # Start of tree tests 998s ok 1 /tree/search 998s ok 2 /tree/remove 998s ok 3 /tree/destroy 998s ok 4 /tree/traverse 998s ok 5 /tree/insert 998s ok 6 /tree/bounds 998s ok 7 /tree/remove-all 998s # End of tree tests 998s ok - glib/protocol.test 998s # Running test: glib/readwrite.test 998s ok - glib/readwrite.test 998s # Running test: glib/glistmodel.test 998s TAP version 14 998s # random seed: R02Sd9ebe3151c4e7a23b494fd9db1fff877 998s 1..9 998s # Start of glib tests 998s # Start of testing tests 998s # Start of protocol tests 998s ok 1 /glib/testing/protocol/debug 998s ok 2 /glib/testing/protocol/info 998s ok 3 /glib/testing/protocol/message 998s ok 4 /glib/testing/protocol/warning 998s ok 5 /glib/testing/protocol/critical 998s ok 6 /glib/testing/protocol/error 998s ok 7 /glib/testing/protocol/gtest-message 998s ok 8 /glib/testing/protocol/test-message 998s ok 9 /glib/testing/protocol/test-error 998s # End of protocol tests 998s # End of testing tests 998s # End of glib tests 998s TAP version 14 998s # random seed: R02S7a5e06eb698f931c91c6e565884a54f0 998s 1..3 998s # Start of readwrite tests 998s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 998s ok 1 /readwrite/test_g_file_open_readwrite 998s ok 2 /readwrite/test_g_file_create_readwrite 998s ok 3 /readwrite/test_g_file_replace_readwrite 998s # End of readwrite tests 998s TAP version 14 998s # random seed: R02S00072c2b8d55c0ecfc25f69c1338d193 998s 1..18 998s # Start of glistmodel tests 998s # Start of store tests 998s ok 1 /glistmodel/store/properties 998s ok 2 /glistmodel/store/non-gobjects 998s ok 3 /glistmodel/store/boundaries 998s ok 4 /glistmodel/store/refcounts 998s ok 5 /glistmodel/store/sorted 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 998s ok 6 /glistmodel/store/splice-replace-middle 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 998s ok 7 /glistmodel/store/splice-replace-all 998s ok 8 /glistmodel/store/splice-noop 998s ok 9 /glistmodel/store/splice-remove-multiple 998s ok - glib/glistmodel.test 998s # Running test: glib/properties-refcount4.test 998s ok - glib/properties-refcount4.test 998s # Running test: glib/unicode.test 998s ok 10 /glistmodel/store/splice-add-multiple 998s ok 11 /glistmodel/store/splice-wrong-type 998s ok 12 /glistmodel/store/item-type 998s ok 13 /glistmodel/store/remove-all 998s ok 14 /glistmodel/store/sort 998s ok 15 /glistmodel/store/get-item-cache 998s ok 16 /glistmodel/store/items-changed 998s ok 17 /glistmodel/store/past-end 998s ok 18 /glistmodel/store/find 998s # End of store tests 998s # End of glistmodel tests 998s TAP version 14 998s # random seed: R02S9496d26b3cf20b863501b489e066068e 998s 1..1 998s # Start of gobject tests 998s # Start of refcount tests 998s ok 1 /gobject/refcount/properties-4 998s # End of refcount tests 998s # End of gobject tests 998s TAP version 14 998s # random seed: R02S9d5d1d2cd8fbffa9751e7d59d15a5c17 998s 1..39 998s # Start of unicode tests 998s ok 1 /unicode/alnum 998s ok 2 /unicode/alpha 998s ok 3 /unicode/break-type 998s ok 4 /unicode/canonical-decomposition 998s ok 5 /unicode/casefold 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s # Cannot set locale to lt_LT, skipping 998s ok 6 /unicode/casemap_and_casefold 998s ok 7 /unicode/cases 998s ok 8 /unicode/character-type 998s ok 9 /unicode/cntrl 998s ok 10 /unicode/combining-class 998s # Composing U+000041 and U+000042; expecting U+000000 998s # Composing U+000041 and U+000000; expecting U+000000 998s # Composing U+000066 and U+000069; expecting U+000000 998s # Composing U+000308 and U+000301; expecting U+000000 998s # Composing U+000f71 and U+000f72; expecting U+000000 998s # Composing U+00212b and U+000000; expecting U+000000 998s # Composing U+0000c5 and U+000000; expecting U+000000 998s # Composing U+002126 and U+000000; expecting U+000000 998s # Composing U+0003a9 and U+000000; expecting U+000000 998s # Composing U+000041 and U+00030a; expecting U+0000c5 998s # Composing U+00006f and U+000302; expecting U+0000f4 998s # Composing U+001e63 and U+000307; expecting U+001e69 998s # Composing U+000073 and U+000323; expecting U+001e63 998s # Composing U+000064 and U+000307; expecting U+001e0b 998s # Composing U+000064 and U+000323; expecting U+001e0d 998s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 998s # Composing U+001111 and U+001171; expecting U+00d4cc 998s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 998s # Composing U+00110e and U+001173; expecting U+00ce20 998s # Composing U+001100 and U+001160; expecting U+000000 998s # Composing U+001100 and U+001177; expecting U+000000 998s # Composing U+00abff and U+0011b6; expecting U+000000 998s # Composing U+00d7a5 and U+0011b6; expecting U+000000 998s # Composing U+00ac01 and U+0011b6; expecting U+000000 998s # Composing U+00d4cc and U+0011a6; expecting U+000000 998s # Composing U+00d4cc and U+0011c4; expecting U+000000 998s # Composing U+01611e and U+01611e; expecting U+016121 998s # Composing U+01611e and U+01611f; expecting U+016123 998s # Composing U+0000f6 and U+000304; expecting U+00022b 998s # Composing U+000b47 and U+000b57; expecting U+000b4c 998s # Composing U+0000a0 and U+000b57; expecting U+000000 998s # Composing U+016e00 and U+00030a; expecting U+000000 998s # Composing U+00212b and U+016e00; expecting U+000000 998s # Composing U+001e63 and U+000306; expecting U+000000 998s # Composing U+001e63 and U+000304; expecting U+000000 998s # Composing U+001e63 and U+000b57; expecting U+000000 998s # Composing U+001e63 and U+000000; expecting U+000000 998s # Composing U+001e63 and U+0113c2; expecting U+000000 998s # Composing U+001f01 and U+0113c2; expecting U+000000 998s # Composing U+00006e and U+000302; expecting U+000000 998s # Composing U+001e63 and U+01611f; expecting U+000000 998s # Composing U+01138e and U+0113b8; expecting U+000000 998s # Composing U+01611e and U+000000; expecting U+000000 998s # Composing U+000000 and U+01611f; expecting U+000000 998s # Composing U+011390 and U+0113c2; expecting U+000000 998s ok 11 /unicode/compose 998s ok 12 /unicode/decompose 998s ok 13 /unicode/decompose-tail 998s ok 14 /unicode/defined 998s ok 15 /unicode/digit 998s ok 16 /unicode/digit-value 998s # Fully decomposing U+000041; expecting 1 codepoints 998s # Fully decomposing U+00fb01; expecting 1 codepoints 998s # Fully decomposing U+00212b; expecting 2 codepoints 998s # Fully decomposing U+002126; expecting 1 codepoints 998s # Fully decomposing U+000344; expecting 2 codepoints 998s # Fully decomposing U+000f73; expecting 2 codepoints 998s # Fully decomposing U+0000c5; expecting 2 codepoints 998s # Fully decomposing U+0000f4; expecting 2 codepoints 998s # Fully decomposing U+001e69; expecting 3 codepoints 998s # Fully decomposing U+001e63; expecting 2 codepoints 998s # Fully decomposing U+001e0b; expecting 2 codepoints 998s # Fully decomposing U+001e0d; expecting 2 codepoints 998s # Fully decomposing U+00d4db; expecting 3 codepoints 998s # Fully decomposing U+00d4cc; expecting 2 codepoints 998s # Fully decomposing U+00ce31; expecting 3 codepoints 998s # Fully decomposing U+00ce20; expecting 2 codepoints 998s ok 17 /unicode/fully-decompose-canonical 998s ok 18 /unicode/fully-decompose-len 998s ok 19 /unicode/normalization 998s ok 20 /unicode/graph 998s # Testing script Zyyy (code 1517910393) 998s # Testing script Zinh (code 1516858984) 998s # Testing script Zmth (code 1517122664) 998s # Testing script Arab (code 1098015074) 998s # Testing script Armn (code 1098018158) 998s # Testing script Beng (code 1113943655) 998s # Testing script Bopo (code 1114599535) 998s # Testing script Cher (code 1130915186) 998s # Testing script Copt (code 1131376756) 998s # Testing script Cyrl (code 1132032620) 998s # Testing script Dsrt (code 1148416628) 998s # Testing script Deva (code 1147500129) 998s # Testing script Ethi (code 1165256809) 998s # Testing script Geor (code 1197830002) 998s # Testing script Goth (code 1198486632) 998s # Testing script Grek (code 1198679403) 998s # Testing script Gujr (code 1198877298) 998s # Testing script Guru (code 1198879349) 998s # Testing script Hani (code 1214344809) 998s # Testing script Hang (code 1214344807) 998s # Testing script Hebr (code 1214603890) 998s # Testing script Hira (code 1214870113) 998s # Testing script Knda (code 1265525857) 998s # Testing script Kana (code 1264676449) 998s # Testing script Khmr (code 1265134962) 998s # Testing script Laoo (code 1281453935) 998s # Testing script Latn (code 1281455214) 998s # Testing script Mlym (code 1298954605) 998s # Testing script Mong (code 1299148391) 998s # Testing script Mymr (code 1299803506) 998s # Testing script Ogam (code 1332175213) 998s # Testing script Ital (code 1232363884) 998s # Testing script Orya (code 1332902241) 998s # Testing script Runr (code 1383427698) 998s # Testing script Sinh (code 1399418472) 998s # Testing script Syrc (code 1400468067) 998s # Testing script Taml (code 1415671148) 998s # Testing script Telu (code 1415933045) 998s # Testing script Thaa (code 1416126817) 998s # Testing script Thai (code 1416126825) 998s # Testing script Tibt (code 1416192628) 998s # Testing script Cans (code 1130458739) 998s # Testing script Yiii (code 1500080489) 998s # Testing script Tglg (code 1416064103) 998s # Testing script Hano (code 1214344815) 998s # Testing script Buhd (code 1114990692) 998s # Testing script Tagb (code 1415669602) 998s # Testing script Brai (code 1114792297) 998s # Testing script Cprt (code 1131442804) 998s # Testing script Limb (code 1281977698) 998s # Testing script Osma (code 1332964705) 998s # Testing script Shaw (code 1399349623) 998s # Testing script Linb (code 1281977954) 998s # Testing script Tale (code 1415670885) 998s # Testing script Ugar (code 1432838514) 998s # Testing script Talu (code 1415670901) 998s # Testing script Bugi (code 1114990441) 998s # Testing script Glag (code 1198285159) 998s # Testing script Tfng (code 1415999079) 998s # Testing script Sylo (code 1400466543) 998s # Testing script Xpeo (code 1483761007) 998s # Testing script Khar (code 1265131890) 998s # Testing script Zzzz (code 1517976186) 998s # Testing script Bali (code 1113681001) 998s # Testing script Xsux (code 1483961720) 998s # Testing script Phnx (code 1349021304) 998s # Testing script Phag (code 1349017959) 998s # Testing script Nkoo (code 1315663727) 998s # Testing script Kali (code 1264675945) 998s # Testing script Lepc (code 1281716323) 998s # Testing script Rjng (code 1382706791) 998s # Testing script Sund (code 1400204900) 998s # Testing script Saur (code 1398895986) 998s # Testing script Cham (code 1130914157) 998s # Testing script Olck (code 1332503403) 998s # Testing script Vaii (code 1449224553) 998s # Testing script Cari (code 1130459753) 998s # Testing script Lyci (code 1283023721) 998s # Testing script Lydi (code 1283023977) 998s # Testing script Avst (code 1098281844) 998s # Testing script Bamu (code 1113681269) 998s # Testing script Egyp (code 1164409200) 998s # Testing script Armi (code 1098018153) 998s # Testing script Phli (code 1349020777) 998s # Testing script Prti (code 1349678185) 998s # Testing script Java (code 1247901281) 998s # Testing script Kthi (code 1265920105) 998s # Testing script Lisu (code 1281979253) 998s # Testing script Mtei (code 1299473769) 998s # Testing script Sarb (code 1398895202) 998s # Testing script Orkh (code 1332898664) 998s # Testing script Samr (code 1398893938) 998s # Testing script Lana (code 1281453665) 998s # Testing script Tavt (code 1415673460) 998s # Testing script Batk (code 1113683051) 998s # Testing script Brah (code 1114792296) 998s # Testing script Mand (code 1298230884) 998s # Testing script Cakm (code 1130457965) 998s # Testing script Merc (code 1298494051) 998s # Testing script Mero (code 1298494063) 998s # Testing script Plrd (code 1349284452) 998s # Testing script Shrd (code 1399353956) 998s # Testing script Sora (code 1399812705) 998s # Testing script Takr (code 1415670642) 998s # Testing script Bass (code 1113682803) 998s # Testing script Aghb (code 1097295970) 998s # Testing script Dupl (code 1148547180) 998s # Testing script Elba (code 1164730977) 998s # Testing script Gran (code 1198678382) 998s # Testing script Khoj (code 1265135466) 998s # Testing script Sind (code 1399418468) 998s # Testing script Lina (code 1281977953) 998s # Testing script Mahj (code 1298229354) 998s # Testing script Mani (code 1298230889) 998s # Testing script Mend (code 1298493028) 998s # Testing script Modi (code 1299145833) 998s # Testing script Mroo (code 1299345263) 998s # Testing script Nbat (code 1315070324) 998s # Testing script Narb (code 1315009122) 998s # Testing script Perm (code 1348825709) 998s # Testing script Hmng (code 1215131239) 998s # Testing script Palm (code 1348562029) 998s # Testing script Pauc (code 1348564323) 998s # Testing script Phlp (code 1349020784) 998s # Testing script Sidd (code 1399415908) 998s # Testing script Tirh (code 1416196712) 998s # Testing script Wara (code 1466004065) 998s # Testing script Ahom (code 1097363309) 998s # Testing script Hluw (code 1215067511) 998s # Testing script Hatr (code 1214346354) 998s # Testing script Mult (code 1299541108) 998s # Testing script Hung (code 1215655527) 998s # Testing script Sgnw (code 1399287415) 998s # Testing script Adlm (code 1097100397) 998s # Testing script Bhks (code 1114139507) 998s # Testing script Marc (code 1298231907) 998s # Testing script Newa (code 1315272545) 998s # Testing script Osge (code 1332963173) 998s # Testing script Tang (code 1415671399) 998s # Testing script Gonm (code 1198485101) 998s # Testing script Nshu (code 1316186229) 998s # Testing script Soyo (code 1399814511) 998s # Testing script Zanb (code 1516334690) 998s # Testing script Dogr (code 1148151666) 998s # Testing script Gong (code 1198485095) 998s # Testing script Rohg (code 1383032935) 998s # Testing script Maka (code 1298230113) 998s # Testing script Medf (code 1298490470) 998s # Testing script Sogo (code 1399809903) 998s # Testing script Sogd (code 1399809892) 998s # Testing script Elym (code 1164736877) 998s # Testing script Nand (code 1315008100) 998s # Testing script Hmnp (code 1215131248) 998s # Testing script Wcho (code 1466132591) 998s # Testing script Chrs (code 1130918515) 998s # Testing script Diak (code 1147756907) 998s # Testing script Kits (code 1265202291) 998s # Testing script Yezi (code 1499822697) 998s # Testing script Cpmn (code 1131441518) 998s # Testing script Ougr (code 1333094258) 998s # Testing script Tnsa (code 1416524641) 998s # Testing script Toto (code 1416590447) 998s # Testing script Vith (code 1449751656) 998s # Testing script Kawi (code 1264678761) 998s ok - glib/unicode.test 998s # Running test: glib/file.test 998s # Testing script Nagm (code 1315006317) 998s # Testing script Todr (code 1416586354) 998s # Testing script Gara (code 1197568609) 998s # Testing script Tutg (code 1416983655) 998s # Testing script Sunu (code 1400204917) 998s # Testing script Gukh (code 1198877544) 998s # Testing script Krai (code 1265787241) 998s # Testing script Onao (code 1332633967) 998s ok 21 /unicode/iso15924 998s ok 22 /unicode/lower 998s ok 23 /unicode/mark 998s ok 24 /unicode/mirror 998s ok 25 /unicode/print 998s ok 26 /unicode/punctuation 998s ok 27 /unicode/script 998s ok 28 /unicode/space 998s ok 29 /unicode/strdown 998s ok 30 /unicode/strup 998s ok 31 /unicode/turkish-strupdown 998s ok 32 /unicode/title 998s ok 33 /unicode/upper 998s ok 34 /unicode/validate 998s ok 35 /unicode/wide 998s ok 36 /unicode/xdigit 998s ok 37 /unicode/xdigit-value 998s ok 38 /unicode/zero-width 998s ok 39 /unicode/normalize 998s # End of unicode tests 998s TAP version 14 998s # random seed: R02S79662b7943baaf0705beaa8ddced0289 998s 1..55 998s # Start of file tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/basic/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/basic/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/basic/.dirs/system-config1:/tmp/test_file_RY2V52/file/basic/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/basic/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/basic/.dirs/system-data1:/tmp/test_file_RY2V52/file/basic/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/basic/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/basic/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/basic/.dirs/runtime 998s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 998s ok 1 /file/basic 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/build-filename/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/build-filename/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/build-filename/.dirs/system-config1:/tmp/test_file_RY2V52/file/build-filename/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/build-filename/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/build-filename/.dirs/system-data1:/tmp/test_file_RY2V52/file/build-filename/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/build-filename/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/build-filename/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/build-filename/.dirs/runtime 998s ok 2 /file/build-filename 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/system-config1:/tmp/test_file_RY2V52/file/build-filenamev/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/system-data1:/tmp/test_file_RY2V52/file/build-filenamev/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/build-filenamev/.dirs/runtime 998s ok 3 /file/build-filenamev 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/parent/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/parent/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/parent/.dirs/system-config1:/tmp/test_file_RY2V52/file/parent/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/parent/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/parent/.dirs/system-data1:/tmp/test_file_RY2V52/file/parent/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/parent/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/parent/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/parent/.dirs/runtime 998s ok 4 /file/parent 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/child/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/child/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/child/.dirs/system-config1:/tmp/test_file_RY2V52/file/child/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/child/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/child/.dirs/system-data1:/tmp/test_file_RY2V52/file/child/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/child/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/child/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/child/.dirs/runtime 998s ok 5 /file/child 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/empty-path/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/empty-path/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/empty-path/.dirs/system-config1:/tmp/test_file_RY2V52/file/empty-path/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/empty-path/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/empty-path/.dirs/system-data1:/tmp/test_file_RY2V52/file/empty-path/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/empty-path/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/empty-path/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/empty-path/.dirs/runtime 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 998s # /file/empty-path summary: Check that creating a file with an empty path results in errors 998s ok 6 /file/empty-path 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/type/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/type/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/type/.dirs/system-config1:/tmp/test_file_RY2V52/file/type/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/type/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/type/.dirs/system-data1:/tmp/test_file_RY2V52/file/type/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/type/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/type/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/type/.dirs/runtime 998s ok 7 /file/type 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/parse-name/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/parse-name/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/parse-name/.dirs/system-config1:/tmp/test_file_RY2V52/file/parse-name/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/parse-name/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/parse-name/.dirs/system-data1:/tmp/test_file_RY2V52/file/parse-name/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/parse-name/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/parse-name/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/parse-name/.dirs/runtime 998s ok 8 /file/parse-name 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/replace-load/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/replace-load/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/replace-load/.dirs/system-config1:/tmp/test_file_RY2V52/file/replace-load/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/replace-load/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/replace-load/.dirs/system-data1:/tmp/test_file_RY2V52/file/replace-load/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/replace-load/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/replace-load/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/replace-load/.dirs/runtime 998s ok 9 /file/replace-load 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/system-config1:/tmp/test_file_RY2V52/file/replace-cancel/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/system-data1:/tmp/test_file_RY2V52/file/replace-cancel/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/replace-cancel/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/629301 998s ok 10 /file/replace-cancel 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/system-config1:/tmp/test_file_RY2V52/file/replace-symlink/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/system-data1:/tmp/test_file_RY2V52/file/replace-symlink/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/replace-symlink/.dirs/runtime 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 998s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 998s # Using temporary directory /tmp/test_file_RY2V52/g_file_replace_symlink_VHFW52 998s ok 11 /file/replace-symlink 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-new-tmp/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-new-tmp/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-new-tmp/.dirs/runtime 998s ok 12 /file/async-new-tmp 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-new-tmp-dir/.dirs/runtime 998s ok 13 /file/async-new-tmp-dir 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-delete/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-delete/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-delete/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-delete/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-delete/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-delete/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-delete/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-delete/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-delete/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-delete/.dirs/runtime 998s ok 14 /file/async-delete 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-make-symlink/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-make-symlink/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-make-symlink/.dirs/runtime 998s ok 15 /file/async-make-symlink 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/copy-preserve-mode/.dirs/runtime 998s # Current umask: 2 998s # Vector 0 998s # Vector 1 998s # Vector 2 998s # Vector 3 998s # Vector 4 998s # Vector 5 998s # Vector 6 998s # Vector 7 998s # Vector 8 998s # Vector 9 998s # Vector 10 998s ok 16 /file/copy-preserve-mode 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/copy-async-with-closures/.dirs/runtime 998s ok 17 /file/copy-async-with-closures 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/measure/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/measure/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/measure/.dirs/system-config1:/tmp/test_file_RY2V52/file/measure/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/measure/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/measure/.dirs/system-data1:/tmp/test_file_RY2V52/file/measure/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/measure/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/measure/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/measure/.dirs/runtime 998s ok 18 /file/measure 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/measure-async/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/measure-async/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/measure-async/.dirs/system-config1:/tmp/test_file_RY2V52/file/measure-async/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/measure-async/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/measure-async/.dirs/system-data1:/tmp/test_file_RY2V52/file/measure-async/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/measure-async/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/measure-async/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/measure-async/.dirs/runtime 998s ok 19 /file/measure-async 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/load-bytes/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/load-bytes/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/load-bytes/.dirs/system-config1:/tmp/test_file_RY2V52/file/load-bytes/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/load-bytes/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/load-bytes/.dirs/system-data1:/tmp/test_file_RY2V52/file/load-bytes/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/load-bytes/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/load-bytes/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/load-bytes/.dirs/runtime 998s ok 20 /file/load-bytes 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_RY2V52/file/load-bytes-async/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_RY2V52/file/load-bytes-async/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/load-bytes-async/.dirs/runtime 998s ok 21 /file/load-bytes-async 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/load-bytes-4gb/.dirs/runtime 998s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/load-contents-4gb/.dirs/runtime 998s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/load-contents-4gb-async/.dirs/runtime 998s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/.dirs/runtime 998s ok 25 /file/writev 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/build-attribute-list-for-copy/.dirs/runtime 998s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 998s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 998s # 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::* 998s # 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::* 998s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 998s # Attributes for copy: standard::size,xattr::* 998s # Attributes for copy: standard::size,unix::mode,xattr::* 998s ok 26 /file/build-attribute-list-for-copy 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/move_async/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/move_async/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/move_async/.dirs/system-config1:/tmp/test_file_RY2V52/file/move_async/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/move_async/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/move_async/.dirs/system-data1:/tmp/test_file_RY2V52/file/move_async/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/move_async/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/move_async/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/move_async/.dirs/runtime 998s ok 27 /file/move_async 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/move-async-with-closures/.dirs/runtime 998s ok 28 /file/move-async-with-closures 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/query-zero-length-content-type/.dirs/runtime 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 998s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 998s ok 29 /file/query-zero-length-content-type 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/runtime 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/data/applications 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/config 998s ok 30 /file/query-default-handler-file 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/runtime 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/data/applications 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/config 998s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_RY2V52/file/query-default-handler-file/.dirs/config to /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/config 998s ok 31 /file/query-default-handler-file-async 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/runtime 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/data/applications 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/config 998s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_RY2V52/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/config 998s ok 32 /file/query-default-handler-uri 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/runtime 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/data/applications 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/config 998s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_RY2V52/file/query-default-handler-uri/.dirs/config to /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/config 998s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RY2V52/file/query-default-handler-uri-async/.dirs/config 998s ok 33 /file/query-default-handler-uri-async 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/enumerator-cancellation/.dirs/runtime 998s ok 34 /file/enumerator-cancellation 998s # Start of async-create-delete tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-create-delete/0/.dirs/runtime 998s ok 35 /file/async-create-delete/0 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-create-delete/1/.dirs/runtime 998s ok 36 /file/async-create-delete/1 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-create-delete/10/.dirs/runtime 999s ok 37 /file/async-create-delete/10 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-create-delete/25/.dirs/runtime 999s ok 38 /file/async-create-delete/25 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/async-create-delete/4096/.dirs/runtime 999s ok 39 /file/async-create-delete/4096 999s # End of async-create-delete tests 999s # Start of replace-symlink tests 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/replace-symlink/using-etag/.dirs/runtime 999s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 999s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 999s # Using temporary directory /tmp/test_file_RY2V52/g_file_replace_symlink_using_etag_BNJ552 1001s ok 40 /file/replace-symlink/using-etag 1001s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1001s # End of replace-symlink tests 1001s # Start of replace tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/system-config1:/tmp/test_file_RY2V52/file/replace/write-only/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/system-data1:/tmp/test_file_RY2V52/file/replace/write-only/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/replace/write-only/.dirs/runtime 1001s # /file/replace/write-only summary: Test various situations for g_file_replace() 1001s # Current umask: 2 1001s # Test 0, using temporary directory /tmp/test_file_RY2V52/g_file_replace_5QL552 1001s # Test 1, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ZVL552 1001s # Test 2, using temporary directory /tmp/test_file_RY2V52/g_file_replace_DXP552 1001s # Test 3, using temporary directory /tmp/test_file_RY2V52/g_file_replace_Y8M552 1001s # Test 4, using temporary directory /tmp/test_file_RY2V52/g_file_replace_1HN552 1001s # Test 5, using temporary directory /tmp/test_file_RY2V52/g_file_replace_H6M552 1001s # Test 6, using temporary directory /tmp/test_file_RY2V52/g_file_replace_77R552 1001s # Test 7, using temporary directory /tmp/test_file_RY2V52/g_file_replace_N0P552 1001s # Test 8, using temporary directory /tmp/test_file_RY2V52/g_file_replace_P1V552 1001s # Test 9, using temporary directory /tmp/test_file_RY2V52/g_file_replace_38V552 1001s # Test 10, using temporary directory /tmp/test_file_RY2V52/g_file_replace_E9T552 1001s # Test 11, using temporary directory /tmp/test_file_RY2V52/g_file_replace_GXX552 1001s # Test 12, using temporary directory /tmp/test_file_RY2V52/g_file_replace_V6X552 1001s # Test 13, using temporary directory /tmp/test_file_RY2V52/g_file_replace_AVX552 1001s # Test 14, using temporary directory /tmp/test_file_RY2V52/g_file_replace_GJ1552 1001s # Test 15, using temporary directory /tmp/test_file_RY2V52/g_file_replace_YJ5552 1001s # Test 16, using temporary directory /tmp/test_file_RY2V52/g_file_replace_XE4552 1001s # Test 17, using temporary directory /tmp/test_file_RY2V52/g_file_replace_7M8552 1001s # Test 18, using temporary directory /tmp/test_file_RY2V52/g_file_replace_1M6552 1001s # Test 19, using temporary directory /tmp/test_file_RY2V52/g_file_replace_45A652 1001s # Test 20, using temporary directory /tmp/test_file_RY2V52/g_file_replace_FB9552 1001s # Test 21, using temporary directory /tmp/test_file_RY2V52/g_file_replace_TDE652 1001s # Test 22, using temporary directory /tmp/test_file_RY2V52/g_file_replace_Z4H652 1001s # Test 23, using temporary directory /tmp/test_file_RY2V52/g_file_replace_3GI652 1001s # Test 24, using temporary directory /tmp/test_file_RY2V52/g_file_replace_LCG652 1001s # Test 25, using temporary directory /tmp/test_file_RY2V52/g_file_replace_OPK652 1001s # Test 26, using temporary directory /tmp/test_file_RY2V52/g_file_replace_A3J652 1001s # Test 27, using temporary directory /tmp/test_file_RY2V52/g_file_replace_HDK652 1001s # Test 28, using temporary directory /tmp/test_file_RY2V52/g_file_replace_87N652 1001s # Test 29, using temporary directory /tmp/test_file_RY2V52/g_file_replace_B0L652 1001s # Test 30, using temporary directory /tmp/test_file_RY2V52/g_file_replace_3RR652 1001s # Test 31, using temporary directory /tmp/test_file_RY2V52/g_file_replace_VWR652 1001s # Test 32, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ANQ652 1001s # Test 33, using temporary directory /tmp/test_file_RY2V52/g_file_replace_LIU652 1001s # Test 34, using temporary directory /tmp/test_file_RY2V52/g_file_replace_JRU652 1001s # Test 35, using temporary directory /tmp/test_file_RY2V52/g_file_replace_3ZT652 1001s # Test 36, using temporary directory /tmp/test_file_RY2V52/g_file_replace_12R652 1001s # Test 37, using temporary directory /tmp/test_file_RY2V52/g_file_replace_BKW652 1001s # Test 38, using temporary directory /tmp/test_file_RY2V52/g_file_replace_KR0652 1001s # Test 39, using temporary directory /tmp/test_file_RY2V52/g_file_replace_IWY652 1001s # Test 40, using temporary directory /tmp/test_file_RY2V52/g_file_replace_6I4652 1001s # Test 41, using temporary directory /tmp/test_file_RY2V52/g_file_replace_7I2652 1001s # Test 42, using temporary directory /tmp/test_file_RY2V52/g_file_replace_006652 1001s # Test 43, using temporary directory /tmp/test_file_RY2V52/g_file_replace_SO4652 1001s # Test 44, using temporary directory /tmp/test_file_RY2V52/g_file_replace_3C9652 1001s # Test 45, using temporary directory /tmp/test_file_RY2V52/g_file_replace_6R8652 1001s # Test 46, using temporary directory /tmp/test_file_RY2V52/g_file_replace_Y67652 1001s # Test 47, using temporary directory /tmp/test_file_RY2V52/g_file_replace_DXD752 1001s # Test 48, using temporary directory /tmp/test_file_RY2V52/g_file_replace_JEC752 1001s # We do not have CAP_DAC_OVERRIDE or equivalent 1001s ok 41 /file/replace/write-only 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/system-config1:/tmp/test_file_RY2V52/file/replace/read-write/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/system-data1:/tmp/test_file_RY2V52/file/replace/read-write/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/replace/read-write/.dirs/runtime 1001s # /file/replace/read-write summary: Test various situations for g_file_replace() 1001s # Current umask: 2 1001s # Test 0, using temporary directory /tmp/test_file_RY2V52/g_file_replace_JGB752 1001s # Test 1, using temporary directory /tmp/test_file_RY2V52/g_file_replace_MNB752 1001s # Test 2, using temporary directory /tmp/test_file_RY2V52/g_file_replace_9CF752 1001s # Test 3, using temporary directory /tmp/test_file_RY2V52/g_file_replace_5OJ752 1001s # Test 4, using temporary directory /tmp/test_file_RY2V52/g_file_replace_VEJ752 1001s # Test 5, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ZOJ752 1001s # Test 6, using temporary directory /tmp/test_file_RY2V52/g_file_replace_UMH752 1001s # Test 7, using temporary directory /tmp/test_file_RY2V52/g_file_replace_TLL752 1001s # Test 8, using temporary directory /tmp/test_file_RY2V52/g_file_replace_7WK752 1001s # Test 9, using temporary directory /tmp/test_file_RY2V52/g_file_replace_R8K752 1001s # Test 10, using temporary directory /tmp/test_file_RY2V52/g_file_replace_BZO752 1001s # Test 11, using temporary directory /tmp/test_file_RY2V52/g_file_replace_YRN752 1001s # Test 12, using temporary directory /tmp/test_file_RY2V52/g_file_replace_O0N752 1001s # Test 13, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ALT752 1001s # Test 14, using temporary directory /tmp/test_file_RY2V52/g_file_replace_SER752 1001s # Test 15, using temporary directory /tmp/test_file_RY2V52/g_file_replace_KXU752 1001s # Test 16, using temporary directory /tmp/test_file_RY2V52/g_file_replace_V3Y752 1001s # Test 17, using temporary directory /tmp/test_file_RY2V52/g_file_replace_RP2752 1001s # Test 18, using temporary directory /tmp/test_file_RY2V52/g_file_replace_MO1752 1001s # Test 19, using temporary directory /tmp/test_file_RY2V52/g_file_replace_IL6752 1001s # Test 20, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ZA4752 1001s # Test 21, using temporary directory /tmp/test_file_RY2V52/g_file_replace_1N8752 1001s # Test 22, using temporary directory /tmp/test_file_RY2V52/g_file_replace_DOC852 1001s # Test 23, using temporary directory /tmp/test_file_RY2V52/g_file_replace_RVC852 1001s # Test 24, using temporary directory /tmp/test_file_RY2V52/g_file_replace_VKA852 1001s # Test 25, using temporary directory /tmp/test_file_RY2V52/g_file_replace_NPF852 1001s # Test 26, using temporary directory /tmp/test_file_RY2V52/g_file_replace_I1E852 1001s # Test 27, using temporary directory /tmp/test_file_RY2V52/g_file_replace_X7E852 1001s # Test 28, using temporary directory /tmp/test_file_RY2V52/g_file_replace_1NH852 1001s # Test 29, using temporary directory /tmp/test_file_RY2V52/g_file_replace_1IL852 1001s # Test 30, using temporary directory /tmp/test_file_RY2V52/g_file_replace_F7K852 1001s # Test 31, using temporary directory /tmp/test_file_RY2V52/g_file_replace_OMK852 1001s # Test 32, using temporary directory /tmp/test_file_RY2V52/g_file_replace_J6O852 1001s # Test 33, using temporary directory /tmp/test_file_RY2V52/g_file_replace_LCR852 1001s # Test 34, using temporary directory /tmp/test_file_RY2V52/g_file_replace_WLR852 1001s # Test 35, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ZZQ852 1001s # Test 36, using temporary directory /tmp/test_file_RY2V52/g_file_replace_B9P852 1001s # Test 37, using temporary directory /tmp/test_file_RY2V52/g_file_replace_WAT852 1001s # Test 38, using temporary directory /tmp/test_file_RY2V52/g_file_replace_IXX852 1001s # Test 39, using temporary directory /tmp/test_file_RY2V52/g_file_replace_T51852 1001s # Test 40, using temporary directory /tmp/test_file_RY2V52/g_file_replace_UMZ852 1001s # Test 41, using temporary directory /tmp/test_file_RY2V52/g_file_replace_0L3852 1001s # Test 42, using temporary directory /tmp/test_file_RY2V52/g_file_replace_5F2852 1001s # Test 43, using temporary directory /tmp/test_file_RY2V52/g_file_replace_AZ6852 1001s # Test 44, using temporary directory /tmp/test_file_RY2V52/g_file_replace_U7A952 1001s # Test 45, using temporary directory /tmp/test_file_RY2V52/g_file_replace_ZMA952 1001s # Test 46, using temporary directory /tmp/test_file_RY2V52/g_file_replace_OP8852 1001s # Test 47, using temporary directory /tmp/test_file_RY2V52/g_file_replace_DW8852 1001s # Test 48, using temporary directory /tmp/test_file_RY2V52/g_file_replace_KXC952 1001s # We do not have CAP_DAC_OVERRIDE or equivalent 1001s ok 42 /file/replace/read-write 1001s # End of replace tests 1001s # Start of copy tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/copy/progress/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/copy/progress/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/copy/progress/.dirs/system-config1:/tmp/test_file_RY2V52/file/copy/progress/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/copy/progress/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/copy/progress/.dirs/system-data1:/tmp/test_file_RY2V52/file/copy/progress/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/copy/progress/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/copy/progress/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/copy/progress/.dirs/runtime 1001s ok 43 /file/copy/progress 1001s # End of copy tests 1001s # Start of writev tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/no-bytes-written/.dirs/runtime 1001s ok 44 /file/writev/no-bytes-written 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/no-vectors/.dirs/runtime 1001s ok 45 /file/writev/no-vectors 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/empty-vectors/.dirs/runtime 1001s ok 46 /file/writev/empty-vectors 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/too-big-vectors/.dirs/runtime 1001s ok 47 /file/writev/too-big-vectors 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/async/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/async/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/async/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/async/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/async/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/async/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/async/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/async/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/async/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/async/.dirs/runtime 1001s ok 48 /file/writev/async 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/async_all/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/async_all/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/async_all/.dirs/runtime 1001s ok 49 /file/writev/async_all 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/async_all-empty-vectors/.dirs/runtime 1001s ok 50 /file/writev/async_all-empty-vectors 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/async_all-no-vectors/.dirs/runtime 1001s ok 51 /file/writev/async_all-no-vectors 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/async_all-to-big-vectors/.dirs/runtime 1001s ok 52 /file/writev/async_all-to-big-vectors 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/writev/async_all-cancellation/.dirs/runtime 1001s ok 53 /file/writev/async_all-cancellation 1001s ok - glib/file.test 1001s # Running test: glib/scannerapi.test 1001s ok - glib/scannerapi.test 1001s # Running test: glib/async-close-output-stream.test 1001s # End of writev tests 1001s # Start of from-uri tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/from-uri/ignores-query-string/.dirs/runtime 1001s ok 54 /file/from-uri/ignores-query-string 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RY2V52/file/from-uri/ignores-fragment/.dirs/runtime 1001s ok 55 /file/from-uri/ignores-fragment 1001s # End of from-uri tests 1001s # End of file tests 1001s TAP version 14 1001s # random seed: R02S1aa29db22a6c5299afb7df7b1bd5b4fc 1001s 1..4 1001s # Start of scanner tests 1001s ok 1 /scanner/warn 1001s ok 2 /scanner/error 1001s ok 3 /scanner/symbols 1001s ok 4 /scanner/tokens 1001s # End of scanner tests 1001s TAP version 14 1001s # random seed: R02Sfff0e325e319cb82186f24fcaebfaf17 1001s 1..3 1001s # Start of close-async tests 1001s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1001s ok 1 /close-async/without-flush 1001s ok - glib/async-close-output-stream.test 1001s # Running test: glib/gdbus-address-get-session.test 1001s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1001s ok 2 /close-async/with-flush 1001s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1001s ok 3 /close-async/with-async-flush 1001s # End of close-async tests 1001s TAP version 14 1001s # random seed: R02S5ebff3d0ac10c866f36fe7fe308c9615 1001s 1..2 1001s # Start of gdbus tests 1001s ok 1 /gdbus/x11-autolaunch 1001s ok 2 /gdbus/xdg-runtime 1001s # End of gdbus tests 1001s ok - glib/gdbus-address-get-session.test 1001s # Running test: glib/gdbus-test-codegen.test 1001s TAP version 14 1001s # random seed: R02S05b351278de25ceb1ef7d0d98428e050 1001s 1..8 1001s # Start of gdbus tests 1001s # Start of codegen tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/annotations/.dirs/runtime 1001s ok 1 /gdbus/codegen/annotations 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/interface_stability/.dirs/runtime 1001s ok 2 /gdbus/codegen/interface_stability 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/object-manager/.dirs/runtime 1001s ok 3 /gdbus/codegen/object-manager 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/property-naming/.dirs/runtime 1001s ok 4 /gdbus/codegen/property-naming 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/autocleanups/.dirs/runtime 1001s ok 5 /gdbus/codegen/autocleanups 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/deprecations/.dirs/runtime 1001s ok 6 /gdbus/codegen/deprecations 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/standalone-interface-info/.dirs/runtime 1001s ok 7 /gdbus/codegen/standalone-interface-info 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N09952/gdbus/codegen/unix-fd-list/.dirs/runtime 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1001s ok 8 /gdbus/codegen/unix-fd-list 1001s # End of codegen tests 1001s # End of gdbus tests 1001s ok - glib/gdbus-test-codegen.test 1001s # Running test: glib/gsocketclient-slow.test 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s TAP version 14 1001s # random seed: R02Sb4fc0f6fdd0d728fb381bea2e5bdd1e2 1001s 1..4 1001s # Start of socket-client tests 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1001s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10981db98b10 and GSocketClientAsyncConnectData 0x10981db930d0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1001s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1001s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10981db9c5e0 for GSocketClientAsyncConnectData 0x10981db930d0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1002s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10981db9c5e0 for GSocketClientAsyncConnectData 0x10981db930d0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1002s # Executing: glib/gsocketclient-slow.test 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1002s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1002s ok 1 /socket-client/connection-fail 1002s # slow test /socket-client/connection-fail executed in 1.20 secs 1002s # Start of happy-eyeballs tests 1002s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10981db9b300 and GSocketClientAsyncConnectData 0x10981db9bf50 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1002s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10981db9f560 for GSocketClientAsyncConnectData 0x10981db9bf50 1002s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1003s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1003s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1003s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1003s ok 2 /socket-client/happy-eyeballs/slow 1003s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1003s # Start of cancellation tests 1003s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10981db9bc30 and GSocketClientAsyncConnectData 0x10981db9f9e0 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1003s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1003s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10981db9b150 and GSocketClientAsyncConnectData 0x10981db9f6f0 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1003s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10981db9f3a0 for GSocketClientAsyncConnectData 0x10981db9f6f0 1003s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1003s ok - glib/gsocketclient-slow.test 1003s # Running test: glib/include.test 1003s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1003s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1003s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1003s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1003s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1003s # End of cancellation tests 1003s # End of happy-eyeballs tests 1003s # End of socket-client tests 1003s TAP version 14 1003s # random seed: R02Sdad6f5b017203743e12cde30dffc57c3 1003s 1..1 1003s # Start of include tests 1003s ok 1 /include/rwlock 1003s # End of include tests 1003s ok - glib/include.test 1003s # Running test: glib/objects-refcount1.test 1003s TAP version 14 1003s # random seed: R02S445fd90808fef7c11336a851011834ee 1003s 1..1 1003s # Start of gobject tests 1003s # Start of refcount tests 1003s # init 0xfcb474d5d30 1003s # 1003s # init 0xfcb474ce5a0 1003s # 1007s # Executing: glib/objects-refcount1.test 1008s ok - glib/objects-refcount1.test 1008s # dispose 0xfcb474d5d30! 1008s # 1008s # dispose 0xfcb474ce5a0! 1008s # 1008s ok 1 /gobject/refcount/object-basics 1008s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1008s # End of refcount tests 1008s # End of gobject tests 1008s # Running test: glib/utils-c-17.test 1008s TAP version 14 1008s # random seed: R02S6d26a6f1216371ae57705e7ee9425ca3 1008s 1..41 1008s # Start of utils tests 1008s ok 1 /utils/language-names 1008s ok 2 /utils/locale-variants 1008s ok 3 /utils/version 1008s ok 4 /utils/appname 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1008s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1008s ok 5 /utils/prgname-thread-safety 1008s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1008s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1008s ok 6 /utils/tmpdir 1008s ok - glib/utils-c-17.test 1008s # Running test: glib/cxx-03.test 1008s ok - glib/cxx-03.test 1008s # Running test: glib/unicode-normalize.test 1008s ok 7 /utils/basic_bits 1008s ok 8 /utils/bits 1008s ok 9 /utils/swap 1008s ok 10 /utils/find-program 1008s ok 11 /utils/find-program-for-path 1008s ok 12 /utils/debug 1008s ok 13 /utils/codeset 1008s ok 14 /utils/codeset2 1008s ok 15 /utils/console-charset 1008s ok 16 /utils/gettext 1008s ok 17 /utils/username 1008s ok 18 /utils/realname 1008s ok 19 /utils/hostname 1008s ok 20 /utils/xdgdirs 1008s ok 21 /utils/specialdir 1008s # NAME: Ubuntu 1008s ok 22 /utils/os-info 1008s ok 23 /utils/clear-pointer 1008s ok 24 /utils/clear-pointer-cast 1008s ok 25 /utils/take-pointer 1008s ok 26 /utils/clear-source 1008s ok 27 /utils/misc-mem 1008s # /utils/aligned-mem summary: Aligned memory allocator 1008s # Alignment must not be zero 1008s # Alignment must be a power of two 1008s # Alignment must be a multiple of sizeof(void*) 1008s ok 28 /utils/aligned-mem 1008s # /utils/free-sized summary: Check that g_free_sized() works 1008s ok 29 /utils/free-sized 1008s ok 30 /utils/nullify 1008s ok 31 /utils/atexit 1008s ok 32 /utils/check-setuid 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1008s ok 33 /utils/int-limits 1008s ok 34 /utils/clear-list 1008s ok 35 /utils/clear-slist 1008s ok 36 /utils/steal-handle-id 1008s # Start of specialdir tests 1008s ok 37 /utils/specialdir/desktop 1008s # End of specialdir tests 1008s # Start of clear-pointer tests 1008s ok 38 /utils/clear-pointer/side-effects 1008s # End of clear-pointer tests 1008s # Start of aligned-mem tests 1008s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1008s ok 39 /utils/aligned-mem/alignment 1008s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1008s ok 40 /utils/aligned-mem/zeroed 1008s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1008s ok 41 /utils/aligned-mem/free-sized 1008s # Start of subprocess tests 1008s # End of subprocess tests 1008s # End of aligned-mem tests 1008s # End of utils tests 1008s TAP version 14 1008s # random seed: R02Secc425db33b5a9f3696f39cb30068f42 1008s 1..2 1008s # Start of gtask tests 1008s # 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. 1008s ok 1 /gtask/name 1008s # Start of name tests 1008s # 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. 1008s ok 2 /gtask/name/macro-wrapper 1008s # End of name tests 1008s # End of gtask tests 1008s TAP version 14 1008s # random seed: R02S0f1a01d86994c645c68f0f26ee2ceea8 1008s 1..3 1008s # Start of unicode tests 1008s # Processing Part0 # Specific cases 1008s # Processing Part1 # Character by character test 1009s # Processing Part2 # Canonical Order Test 1009s # Processing Part3 # PRI #29 Test 1009s # Processing Part4 # Canonical closures (excluding Hangul) 1009s # Processing Part5 # Chained primary composites 1009s ok 1 /unicode/normalize 1009s # Invalid UTF-8 vector 0 1009s # Invalid UTF-8 vector 1 1009s # Invalid UTF-8 vector 2 1009s # Invalid UTF-8 vector 3 1009s # Invalid UTF-8 vector 4 1009s # Invalid UTF-8 vector 5 1009s # Invalid UTF-8 vector 6 1009s # Invalid UTF-8 vector 7 1009s # Invalid UTF-8 vector 8 1009s # Invalid UTF-8 vector 9 1009s # Invalid UTF-8 vector 10 1009s # Invalid UTF-8 vector 11 1009s # Invalid UTF-8 vector 12 1009s ok 2 /unicode/normalize-invalid 1009s # Start of normalize tests 1009s ok 3 /unicode/normalize/bad-length 1009s # End of normalize tests 1009s # End of unicode tests 1009s ok - glib/unicode-normalize.test 1009s # Running test: glib/atomic.test 1009s TAP version 14 1009s # random seed: R02S8b98a3eca7921662605908309b06fe01 1009s 1..2 1009s # Start of atomic tests 1009s ok 1 /atomic/types 1009s ok - glib/atomic.test 1009s ok 2 /atomic/threaded 1009s # End of atomic tests 1009s # Running test: glib/gdbus-addresses.test 1009s TAP version 14 1009s # random seed: R02Sc0415627dc09074d461f5dda790d104c 1009s 1..9 1009s # Start of gdbus tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/empty-address/.dirs/runtime 1009s ok 1 /gdbus/empty-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/unsupported-address/.dirs/runtime 1009s ok - glib/gdbus-addresses.test 1009s ok 2 /gdbus/unsupported-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/address-parsing/.dirs/runtime 1009s ok 3 /gdbus/address-parsing 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/unix-address/.dirs/runtime 1009s ok 4 /gdbus/unix-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/nonce-tcp-address/.dirs/runtime 1009s ok 5 /gdbus/nonce-tcp-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/tcp-address/.dirs/runtime 1009s ok 6 /gdbus/tcp-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/autolaunch-address/.dirs/runtime 1009s ok 7 /gdbus/autolaunch-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/mixed-address/.dirs/runtime 1009s ok 8 /gdbus/mixed-address 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_536552/gdbus/escape-address/.dirs/runtime 1009s ok 9 /gdbus/escape-address 1009s # End of gdbus tests 1009s # Running test: glib/testfilemonitor.test 1009s TAP version 14 1009s # random seed: R02See7292bb929560c3a4b43124da4f8780 1009s 1..8 1009s # Start of monitor tests 1009s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1009s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s # Start of file tests 1009s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1009s # End of file tests 1009s # End of monitor tests 1009s ok - glib/testfilemonitor.test 1009s # Running test: glib/pathbuf.test 1009s TAP version 14 1009s # random seed: R02Scc696e497323b66b5feece923312b649 1009s 1..3 1009s # Start of pathbuf tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KQH652/pathbuf/init/.dirs/runtime 1009s # Initializing empty path buf 1009s # Initializing with empty path 1009s # Initializing with full path 1009s # Initializing with no path 1009s # Allocating GPathBuf on the heap 1009s ok 1 /pathbuf/init 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KQH652/pathbuf/push-pop/.dirs/runtime 1009s # Pushing relative path component 1009s # Pushing absolute path component 1009s # Popping a path component 1009s # Can't pop the last element of a path buffer 1009s ok 2 /pathbuf/push-pop 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/system-config2 1009s ok - glib/pathbuf.test 1009s # Running test: glib/overflow-fallback.test 1009s ok - glib/overflow-fallback.test 1009s # Running test: glib/giomodule.test 1009s ok - glib/giomodule.test 1009s # Running test: glib/genmarshal.py.test 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KQH652/pathbuf/filename-extension/.dirs/runtime 1009s ok 3 /pathbuf/filename-extension 1009s # End of pathbuf tests 1009s TAP version 14 1009s # random seed: R02Sf4970f3d8fdc261a43cc0307619b696a 1009s 1..6 1009s # Start of glib tests 1009s # Start of checked-math tests 1009s ok 1 /glib/checked-math/guint-add 1009s ok 2 /glib/checked-math/guint-mul 1009s ok 3 /glib/checked-math/guint64-add 1009s ok 4 /glib/checked-math/guint64-mul 1009s ok 5 /glib/checked-math/gsize-add 1009s ok 6 /glib/checked-math/gsize-mul 1009s # End of checked-math tests 1009s # End of glib tests 1009s TAP version 14 1009s # random seed: R02S26216dcb924218c83ec949cc414e06dd 1009s 1..3 1009s # Start of giomodule tests 1009s ok 1 /giomodule/extension-point 1009s ok 2 /giomodule/module-scan-all 1009s ok 3 /giomodule/module-scan-all-with-scope 1009s # End of giomodule tests 1009s TAP version 13 1009s ok 1 __main__.TestGenmarshal.test_empty_list 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmp_7woze_o 1009s # /tmp/tmp_7woze_o/tmp2mszjzdi.list: 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_7woze_o/tmp2mszjzdi.list', '--header', '--quiet'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # 1009s # #include 1009s # 1009s # G_BEGIN_DECLS 1009s # 1009s # 1009s # G_END_DECLS 1009s # 1009s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1009s # Error: 1009s # 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_7woze_o/tmp2mszjzdi.list', '--body', '--quiet'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #include 1009s # 1009s # #ifdef G_ENABLE_DEBUG 1009s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1009s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1009s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1009s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1009s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1009s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1009s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1009s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1009s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1009s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1009s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1009s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1009s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1009s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1009s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1009s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1009s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1009s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1009s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1009s # #else /* !G_ENABLE_DEBUG */ 1009s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1009s # * Do not access GValues directly in your code. Instead, use the 1009s # * g_value_get_*() functions 1009s # */ 1009s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1009s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1009s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1009s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1009s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1009s # #endif /* !G_ENABLE_DEBUG */ 1009s # Error: 1009s ok 2 __main__.TestGenmarshal.test_help 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmphqc5woms 1009s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1009s # Return code: 0 1009s # Output: 1009s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1009s # [--internal] [--valist-marshallers] [-v] 1009s # [--g-fatal-warnings] [--include-header [HEADER]] 1009s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1009s # [--prototypes] [--header] [--body] [--stdinc | 1009s # --nostdinc] [--quiet | --verbose] 1009s # [FILE ...] 1009s # 1009s # Generate signal marshallers for GObject 1009s # 1009s # positional arguments: 1009s # FILE Files with lists of marshallers to generate, or "-" 1009s # for standard input 1009s # 1009s # options: 1009s # -h, --help show this help message and exit 1009s # --prefix STRING Specify marshaller prefix 1009s # --output FILE Write output into the specified file 1009s # --skip-source Skip source location comments 1009s # --internal Mark generated functions as internal 1009s # --valist-marshallers Generate va_list marshallers 1009s # -v, --version Print version information, and exit 1009s # --g-fatal-warnings Make warnings fatal 1009s # --include-header [HEADER] 1009s # Include the specified header in the body 1009s # --pragma-once Use "pragma once" as the inclusion guard 1009s # -D CPP_DEFINES Pre-processor define 1009s # -U CPP_UNDEFINES Pre-processor undefine 1009s # --prototypes Generate the marshallers prototype in the C code 1009s # --header Generate C headers 1009s # --body Generate C code 1009s # --stdinc Include standard marshallers 1009s # --nostdinc Use standard marshallers 1009s # --quiet Only print warnings and errors 1009s # --verbose Be verbose, and include debugging information 1009s # Error: 1009s ok 3 __main__.TestGenmarshal.test_no_args 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmpue_c67ys 1009s # Running: ['/usr/bin/glib-genmarshal'] 1009s # Return code: 0 1009s # Output: 1009s # 1009s # Error: 1009s ok 4 __main__.TestGenmarshal.test_void_boolean 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmp919l_3xo 1009s # /tmp/tmp919l_3xo/tmplz7dcpnh.list: VOID:BOOLEAN 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp919l_3xo/tmplz7dcpnh.list', '--header', '--quiet'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # 1009s # #include 1009s # 1009s # G_BEGIN_DECLS 1009s # 1009s # /* VOID:BOOLEAN (/tmp/tmp919l_3xo/tmplz7dcpnh.list:1) */ 1009s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1009s # 1009s # 1009s # G_END_DECLS 1009s # 1009s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1009s # Error: 1009s # 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp919l_3xo/tmplz7dcpnh.list', '--body', '--quiet'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #include 1009s # 1009s # #ifdef G_ENABLE_DEBUG 1009s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1009s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1009s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1009s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1009s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1009s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1009s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1009s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1009s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1009s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1009s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1009s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1009s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1009s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1009s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1009s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1009s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1009s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1009s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1009s # #else /* !G_ENABLE_DEBUG */ 1009s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1009s # * Do not access GValues directly in your code. Instead, use the 1009s # * g_value_get_*() functions 1009s # */ 1009s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1009s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1009s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1009s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1009s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1009s # #endif /* !G_ENABLE_DEBUG */ 1009s # Error: 1009s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmptod9s2r4 1009s # /tmp/tmptod9s2r4/tmpsw8w4qsa.list: VOID:BOOLEAN,INT64 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptod9s2r4/tmpsw8w4qsa.list', '--header', '--quiet'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # 1009s # #include 1009s # 1009s # G_BEGIN_DECLS 1009s # 1009s # /* VOID:BOOLEAN,INT64 (/tmp/tmptod9s2r4/tmpsw8w4qsa.list:1) */ 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1009s # GValue *return_value, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint, 1009s # gpointer marshal_data); 1009s # 1009s # 1009s # G_END_DECLS 1009s # 1009s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1009s # Error: 1009s # 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptod9s2r4/tmpsw8w4qsa.list', '--body', '--quiet'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #include 1009s # 1009s # #ifdef G_ENABLE_DEBUG 1009s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1009s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1009s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1009s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1009s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1009s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1009s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1009s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1009s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1009s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1009s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1009s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1009s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1009s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1009s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1009s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1009s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1009s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1009s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1009s # #else /* !G_ENABLE_DEBUG */ 1009s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1009s # * Do not access GValues directly in your code. Instead, use the 1009s # * g_value_get_*() functions 1009s # */ 1009s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1009s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1009s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1009s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1009s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1009s # #endif /* !G_ENABLE_DEBUG */ 1009s # 1009s # /* VOID:BOOLEAN,INT64 (/tmp/tmptod9s2r4/tmpsw8w4qsa.list:1) */ 1009s # void 1009s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint G_GNUC_UNUSED, 1009s # gpointer marshal_data) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1009s # gboolean arg1, 1009s # gint64 arg2, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1009s # 1009s # g_return_if_fail (n_param_values == 3); 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = g_value_peek_pointer (param_values + 0); 1009s # } 1009s # else 1009s # { 1009s # data1 = g_value_peek_pointer (param_values + 0); 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # g_marshal_value_peek_boolean (param_values + 1), 1009s # g_marshal_value_peek_int64 (param_values + 2), 1009s # data2); 1009s # } 1009s # Error: 1009s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmpb61_34qr 1009s # /tmp/tmpb61_34qr/tmptvsb37oi.list: VOID:PARAM 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb61_34qr/tmptvsb37oi.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # 1009s # G_BEGIN_DECLS 1009s # 1009s # /* VOID:PARAM (/tmp/tmpb61_34qr/tmptvsb37oi.list:1) */ 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1009s # GValue *return_value, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint, 1009s # gpointer marshal_data); 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1009s # GValue *return_value, 1009s # gpointer instance, 1009s # va_list args, 1009s # gpointer marshal_data, 1009s # int n_params, 1009s # GType *param_types); 1009s # 1009s # 1009s # G_END_DECLS 1009s # 1009s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1009s # Error: 1009s # 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb61_34qr/tmptvsb37oi.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifdef G_ENABLE_DEBUG 1009s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1009s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1009s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1009s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1009s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1009s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1009s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1009s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1009s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1009s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1009s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1009s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1009s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1009s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1009s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1009s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1009s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1009s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1009s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1009s # #else /* !G_ENABLE_DEBUG */ 1009s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1009s # * Do not access GValues directly in your code. Instead, use the 1009s # * g_value_get_*() functions 1009s # */ 1009s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1009s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1009s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1009s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1009s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1009s # #endif /* !G_ENABLE_DEBUG */ 1009s # 1009s # /* VOID:PARAM (/tmp/tmpb61_34qr/tmptvsb37oi.list:1) */ 1009s # void 1009s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint G_GNUC_UNUSED, 1009s # gpointer marshal_data) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1009s # gpointer arg1, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__PARAM callback; 1009s # 1009s # g_return_if_fail (n_param_values == 2); 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = g_value_peek_pointer (param_values + 0); 1009s # } 1009s # else 1009s # { 1009s # data1 = g_value_peek_pointer (param_values + 0); 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # g_marshal_value_peek_param (param_values + 1), 1009s # data2); 1009s # } 1009s # 1009s # void 1009s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # gpointer instance, 1009s # va_list args, 1009s # gpointer marshal_data, 1009s # int n_params, 1009s # GType *param_types) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1009s # gpointer arg1, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__PARAM callback; 1009s # gpointer arg0; 1009s # va_list args_copy; 1009s # 1009s # va_copy (args_copy, args); 1009s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1009s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1009s # arg0 = g_param_spec_ref (arg0); 1009s # va_end (args_copy); 1009s # 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = instance; 1009s # } 1009s # else 1009s # { 1009s # data1 = instance; 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # arg0, 1009s # data2); 1009s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1009s # g_param_spec_unref (arg0); 1009s # } 1009s # Error: 1009s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmp5p6i7kpn 1009s # /tmp/tmp5p6i7kpn/tmppq1mu3p6.list: VOID:STRING 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5p6i7kpn/tmppq1mu3p6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # 1009s # G_BEGIN_DECLS 1009s # 1009s # /* VOID:STRING (/tmp/tmp5p6i7kpn/tmppq1mu3p6.list:1) */ 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1009s # GValue *return_value, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint, 1009s # gpointer marshal_data); 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1009s # GValue *return_value, 1009s # gpointer instance, 1009s # va_list args, 1009s # gpointer marshal_data, 1009s # int n_params, 1009s # GType *param_types); 1009s # 1009s # 1009s # G_END_DECLS 1009s # 1009s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1009s # Error: 1009s # 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5p6i7kpn/tmppq1mu3p6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifdef G_ENABLE_DEBUG 1009s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1009s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1009s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1009s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1009s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1009s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1009s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1009s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1009s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1009s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1009s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1009s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1009s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1009s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1009s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1009s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1009s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1009s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1009s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1009s # #else /* !G_ENABLE_DEBUG */ 1009s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1009s # * Do not access GValues directly in your code. Instead, use the 1009s # * g_value_get_*() functions 1009s # */ 1009s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1009s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1009s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1009s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1009s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1009s # #endif /* !G_ENABLE_DEBUG */ 1009s # 1009s # /* VOID:STRING (/tmp/tmp5p6i7kpn/tmppq1mu3p6.list:1) */ 1009s # void 1009s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint G_GNUC_UNUSED, 1009s # gpointer marshal_data) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1009s # gpointer arg1, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__STRING callback; 1009s # 1009s # g_return_if_fail (n_param_values == 2); 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = g_value_peek_pointer (param_values + 0); 1009s # } 1009s # else 1009s # { 1009s # data1 = g_value_peek_pointer (param_values + 0); 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # g_marshal_value_peek_string (param_values + 1), 1009s # data2); 1009s # } 1009s # 1009s # void 1009s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # gpointer instance, 1009s # va_list args, 1009s # gpointer marshal_data, 1009s # int n_params, 1009s # GType *param_types) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1009s # gpointer arg1, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__STRING callback; 1009s # gpointer arg0; 1009s # va_list args_copy; 1009s # 1009s # va_copy (args_copy, args); 1009s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1009s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1009s # arg0 = g_strdup (arg0); 1009s # va_end (args_copy); 1009s # 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = instance; 1009s # } 1009s # else 1009s # { 1009s # data1 = instance; 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # arg0, 1009s # data2); 1009s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1009s # g_free (arg0); 1009s # } 1009s # Error: 1009s ok - glib/genmarshal.py.test 1009s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1009s # glib-genmarshal: /usr/bin/glib-genmarshal 1009s # tmpdir: /tmp/tmp86u_0vl_ 1009s # /tmp/tmp86u_0vl_/tmpztddr2td.list: VOID:VARIANT 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp86u_0vl_/tmpztddr2td.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1009s # 1009s # G_BEGIN_DECLS 1009s # 1009s # /* VOID:VARIANT (/tmp/tmp86u_0vl_/tmpztddr2td.list:1) */ 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1009s # GValue *return_value, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint, 1009s # gpointer marshal_data); 1009s # extern 1009s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1009s # GValue *return_value, 1009s # gpointer instance, 1009s # va_list args, 1009s # gpointer marshal_data, 1009s # int n_params, 1009s # GType *param_types); 1009s # 1009s # 1009s # G_END_DECLS 1009s # 1009s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1009s # Error: 1009s # 1009s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp86u_0vl_/tmpztddr2td.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1009s # Return code: 0 1009s # Output: 1009s # /* 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. */ 1009s # #ifdef G_ENABLE_DEBUG 1009s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1009s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1009s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1009s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1009s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1009s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1009s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1009s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1009s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1009s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1009s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1009s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1009s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1009s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1009s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1009s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1009s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1009s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1009s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1009s # #else /* !G_ENABLE_DEBUG */ 1009s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1009s # * Do not access GValues directly in your code. Instead, use the 1009s # * g_value_get_*() functions 1009s # */ 1009s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1009s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1009s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1009s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1009s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1009s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1009s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1009s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1009s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1009s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1009s # #endif /* !G_ENABLE_DEBUG */ 1009s # 1009s # /* VOID:VARIANT (/tmp/tmp86u_0vl_/tmpztddr2td.list:1) */ 1009s # void 1009s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # guint n_param_values, 1009s # const GValue *param_values, 1009s # gpointer invocation_hint G_GNUC_UNUSED, 1009s # gpointer marshal_data) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1009s # gpointer arg1, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__VARIANT callback; 1009s # 1009s # g_return_if_fail (n_param_values == 2); 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = g_value_peek_pointer (param_values + 0); 1009s # } 1009s # else 1009s # { 1009s # data1 = g_value_peek_pointer (param_values + 0); 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # g_marshal_value_peek_variant (param_values + 1), 1009s # data2); 1009s # } 1009s # 1009s # void 1009s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1009s # GValue *return_value G_GNUC_UNUSED, 1009s # gpointer instance, 1009s # va_list args, 1009s # gpointer marshal_data, 1009s # int n_params, 1009s # GType *param_types) 1009s # { 1009s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1009s # gpointer arg1, 1009s # gpointer data2); 1009s # GCClosure *cc = (GCClosure *) closure; 1009s # gpointer data1, data2; 1009s # GMarshalFunc_VOID__VARIANT callback; 1009s # gpointer arg0; 1009s # va_list args_copy; 1009s # 1009s # va_copy (args_copy, args); 1009s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1009s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1009s # arg0 = g_variant_ref_sink (arg0); 1009s # va_end (args_copy); 1009s # 1009s # 1009s # if (G_CCLOSURE_SWAP_DATA (closure)) 1009s # { 1009s # data1 = closure->data; 1009s # data2 = instance; 1009s # } 1009s # else 1009s # { 1009s # data1 = instance; 1009s # data2 = closure->data; 1009s # } 1009s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1009s # 1009s # callback (data1, 1009s # arg0, 1009s # data2); 1009s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1009s # g_variant_unref (arg0); 1009s # } 1009s # Error: 1009s 1..8 1009s TAP version 14 1009s # random seed: R02S43c8f529440d925d0ba4055427dc77db 1009s 1..2 1009s # Start of gtask tests 1009s # 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. 1009s ok 1 /gtask/name 1009s # Start of name tests 1009s # 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. 1009s ok 2 /gtask/name/macro-wrapper 1009s # End of name tests 1009s # End of gtask tests 1009s # Running test: glib/cxx-98.test 1009s ok - glib/cxx-98.test 1009s # Running test: glib/cache.test 1009s TAP version 14 1009s # random seed: R02S9749dce395bffcda514c586c3902f35c 1009s 1..1 1009s # Start of cache tests 1009s ok 1 /cache/basic 1009s # End of cache tests 1009s ok - glib/cache.test 1009s # Running test: glib/collate.test 1009s TAP version 14 1009s # random seed: R02S3289da1c33ff89f9277e852fcede4ff9 1009s 1..9 1009s # Start of unicode tests 1009s # Start of collate tests 1009s ok 1 /unicode/collate/0 1009s ok 2 /unicode/collate/1 1009s ok 3 /unicode/collate/2 1009s # End of collate tests 1009s # Start of collate-key tests 1009s ok 4 /unicode/collate-key/0 1009s ok 5 /unicode/collate-key/1 1009s ok 6 /unicode/collate-key/2 1009s # End of collate-key tests 1009s # Start of collate-filename tests 1009s ok 7 /unicode/collate-filename/0 1009s ok 8 /unicode/collate-filename/1 1009s ok 9 /unicode/collate-filename/2 1009s # End of collate-filename tests 1009s # End of unicode tests 1009s TAP version 14 1009s # random seed: R02S1bf017a9c1a1027f9acd73fa1011abc8 1009s 1..121 1009s # Start of date tests 1009s ok 1 /date/basic 1009s ok 2 /date/empty 1009s ok 3 /date/dmy 1009s ok 4 /date/julian 1009s ok 5 /date/compare 1009s ok 6 /date/dates 1009s ok 7 /date/strftime 1009s ok - glib/collate.test 1009s # Running test: glib/date.test 1009s ok 8 /date/two-digit-years 1009s ok 9 /date/parse 1009s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1009s ok 11 /date/month_substring 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1009s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1009s ok 13 /date/clamp 1009s ok 14 /date/order 1009s ok 15 /date/copy 1009s # Vector 0: 0000-00-00, invalid 1009s # Vector 1: 0001-01-01, valid 1009s # Vector 2: 0000-01-01, invalid 1009s # Vector 3: 2000-02-30, invalid 1009s # Vector 4: 2000-02-29, valid 1009s # Vector 5: 2001-02-29, invalid 1009s # Vector 6: 65535-01-01, valid 1009s ok 16 /date/valid-dmy 1009s # Start of parse tests 1009s # Test 0 1009s # Test 1 1009s ok 17 /date/parse/invalid 1009s # End of parse tests 1009s # Start of year tests 1009s ok 18 /date/year/1 1009s ok 19 /date/year/2 1009s ok 20 /date/year/3 1009s ok 21 /date/year/4 1009s ok 22 /date/year/5 1009s ok 23 /date/year/6 1009s ok 24 /date/year/7 1009s ok 25 /date/year/8 1009s ok 26 /date/year/9 1009s ok 27 /date/year/10 1009s ok 28 /date/year/11 1009s ok 29 /date/year/12 1009s ok 30 /date/year/13 1009s ok 31 /date/year/14 1009s ok 32 /date/year/98 1009s ok 33 /date/year/99 1009s ok 34 /date/year/100 1009s ok 35 /date/year/101 1009s ok 36 /date/year/102 1009s ok 37 /date/year/103 1009s ok 38 /date/year/397 1009s ok 39 /date/year/398 1009s ok 40 /date/year/399 1009s ok 41 /date/year/400 1009s ok 42 /date/year/401 1009s ok 43 /date/year/402 1009s ok 44 /date/year/403 1009s ok 45 /date/year/404 1009s ok 46 /date/year/405 1009s ok 47 /date/year/406 1009s ok 48 /date/year/1598 1009s ok 49 /date/year/1599 1009s ok 50 /date/year/1600 1009s ok 51 /date/year/1601 1009s ok 52 /date/year/1602 1009s ok 53 /date/year/1650 1009s ok 54 /date/year/1651 1009s ok 55 /date/year/1897 1009s ok 56 /date/year/1898 1009s ok 57 /date/year/1899 1009s ok 58 /date/year/1900 1009s ok 59 /date/year/1901 1009s ok 60 /date/year/1902 1009s ok 61 /date/year/1903 1009s ok 62 /date/year/1961 1009s ok 63 /date/year/1962 1009s ok 64 /date/year/1963 1009s ok 65 /date/year/1964 1009s ok 66 /date/year/1965 1009s ok 67 /date/year/1967 1009s ok 68 /date/year/1968 1009s ok 69 /date/year/1969 1010s ok 70 /date/year/1970 1010s ok 71 /date/year/1971 1010s ok 72 /date/year/1972 1010s ok 73 /date/year/1973 1010s ok 74 /date/year/1974 1010s ok 75 /date/year/1975 1010s ok 76 /date/year/1976 1010s ok 77 /date/year/1977 1010s ok 78 /date/year/1978 1010s ok 79 /date/year/1979 1010s ok 80 /date/year/1980 1010s ok 81 /date/year/1981 1010s ok 82 /date/year/1982 1010s ok 83 /date/year/1983 1010s ok 84 /date/year/1984 1010s ok 85 /date/year/1985 1010s ok 86 /date/year/1986 1010s ok 87 /date/year/1987 1010s ok 88 /date/year/1988 1010s ok 89 /date/year/1989 1010s ok 90 /date/year/1990 1010s ok 91 /date/year/1991 1010s ok 92 /date/year/1992 1010s ok 93 /date/year/1993 1010s ok 94 /date/year/1994 1010s ok 95 /date/year/1995 1010s ok 96 /date/year/1996 1010s ok 97 /date/year/1997 1010s ok 98 /date/year/1998 1010s ok 99 /date/year/1999 1010s ok 100 /date/year/2000 1010s ok 101 /date/year/2001 1010s ok 102 /date/year/2002 1010s ok 103 /date/year/2003 1010s ok 104 /date/year/2004 1010s ok 105 /date/year/2005 1010s ok 106 /date/year/2006 1010s ok 107 /date/year/2007 1010s ok 108 /date/year/2008 1010s ok 109 /date/year/2009 1010s ok 110 /date/year/2010 1010s ok 111 /date/year/2011 1010s ok 112 /date/year/2012 1010s ok 113 /date/year/3000 1010s ok 114 /date/year/3001 1010s ok 115 /date/year/3002 1010s ok 116 /date/year/3998 1010s ok 117 /date/year/3999 1010s ok 118 /date/year/4000 1010s ok 119 /date/year/4001 1010s ok 120 /date/year/4002 1010s ok 121 /date/year/4003 1010s # End of year tests 1010s # End of date tests 1010s ok - glib/date.test 1010s # Running test: glib/gio-tool.py.test 1010s TAP version 13 1010s ok 1 __main__.TestGioTool.test_help 1010s # gio: /usr/bin/gio 1010s # tmpdir: /tmp/tmp34qizhq5 1010s # Running: ['/usr/bin/gio', '--help'] 1010s # Return code: 0 1010s # Output: 1010s # Usage: 1010s # gio COMMAND [ARGS…] 1010s # 1010s # Commands: 1010s # help Print help 1010s # version Print version 1010s # cat Concatenate files to standard output 1010s # copy Copy one or more files 1010s # info Show information about locations 1010s # launch Launch an application from a desktop file 1010s # list List the contents of locations 1010s # mime Get or set the handler for a mimetype 1010s # mkdir Create directories 1010s # monitor Monitor files and directories for changes 1010s # mount Mount or unmount the locations 1010s # move Move one or more files 1010s # open Open files with the default application 1010s # rename Rename a file 1010s # remove Delete one or more files 1010s # save Read from standard input and save 1010s # set Set a file attribute 1010s # trash Move files or directories to the trash 1010s # tree Lists the contents of locations in a tree 1010s # 1010s # Use “gio help COMMAND†to get detailed help. 1010s # Error: 1010s # 1010s # Running: ['/usr/bin/gio', 'help'] 1010s # Return code: 0 1010s # Output: 1010s # Usage: 1010s # gio COMMAND [ARGS…] 1010s # 1010s # Commands: 1010s # help Print help 1010s # version Print version 1010s # cat Concatenate files to standard output 1010s # copy Copy one or more files 1010s # info Show information about locations 1010s # launch Launch an application from a desktop file 1010s # list List the contents of locations 1010s # mime Get or set the handler for a mimetype 1010s # mkdir Create directories 1010s # monitor Monitor files and directories for changes 1010s # mount Mount or unmount the locations 1010s # move Move one or more files 1010s # open Open files with the default application 1010s # rename Rename a file 1010s # remove Delete one or more files 1010s # save Read from standard input and save 1010s # set Set a file attribute 1010s # trash Move files or directories to the trash 1010s # tree Lists the contents of locations in a tree 1010s # 1010s # Use “gio help COMMAND†to get detailed help. 1010s # Error: 1010s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1010s # gio: /usr/bin/gio 1010s # tmpdir: /tmp/tmpzw3ixm4p 1010s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpzw3ixm4p/tmprboqcz_g'] 1010s # Return code: 0 1010s # Output: 1010s # uri: file:///tmp/tmpzw3ixm4p/tmprboqcz_g 1010s # local path: /tmp/tmpzw3ixm4p/tmprboqcz_g 1010s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1010s # attributes: 1010s # standard::content-type: application/x-zerosize 1010s # Error: 1010s ok 3 __main__.TestGioTool.test_no_args 1010s # gio: /usr/bin/gio 1010s # tmpdir: /tmp/tmp6sdfj0gu 1010s # Running: ['/usr/bin/gio'] 1010s # Return code: 1 1010s # Output: 1010s # 1010s # Error: 1010s # Usage: 1010s # gio COMMAND [ARGS…] 1010s # 1010s # Commands: 1010s # help Print help 1010s # version Print version 1010s # cat Concatenate files to standard output 1010s # copy Copy one or more files 1010s # info Show information about locations 1010s # launch Launch an application from a desktop file 1010s # list List the contents of locations 1010s # mime Get or set the handler for a mimetype 1010s # mkdir Create directories 1010s # monitor Monitor files and directories for changes 1010s # mount Mount or unmount the locations 1010s # move Move one or more files 1010s # open Open files with the default application 1010s # rename Rename a file 1010s # remove Delete one or more files 1010s # save Read from standard input and save 1010s # set Set a file attribute 1010s # trash Move files or directories to the trash 1010s # tree Lists the contents of locations in a tree 1010s # 1010s # Use “gio help COMMAND†to get detailed help. 1010s 1..3 1010s ok - glib/gio-tool.py.test 1010s # Running test: glib/rcbox.test 1010s TAP version 14 1010s # random seed: R02S79ca5f6e9e30f78617d70dee718c195d 1010s 1..8 1010s # Start of rcbox tests 1010s ok 1 /rcbox/new 1010s # global_point = 0x9ae33ad88b0 1010s ok 2 /rcbox/release-full 1010s # global_point_a = 0x9ae33ad88b0 1010s # global_point_b = 0x9ae33ad8980 1010s ok 3 /rcbox/dup 1010s ok 4 /rcbox/alignment 1010s # End of rcbox tests 1010s # Start of atomic-rcbox tests 1010s ok 5 /atomic-rcbox/new 1010s # global_point = 0x9ae33ad8980 1010s ok 6 /atomic-rcbox/release-full 1010s # global_point_a = 0x9ae33ad8980 1010s # global_point_b = 0x9ae33ad88b0 1010s ok 7 /atomic-rcbox/dup 1010s ok 8 /atomic-rcbox/alignment 1010s # End of atomic-rcbox tests 1010s ok - glib/rcbox.test 1010s # Running test: glib/tls-bindings.test 1010s TAP version 14 1010s # random seed: R02Sf4ff4ee889488599f27275dc669425c3 1010s 1..2 1010s # Start of tls-connection tests 1010s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1010s ok 1 /tls-connection/get-tls-channel-binding 1010s ok 2 /tls-connection/get-dtls-channel-binding 1010s # End of tls-connection tests 1010s ok - glib/tls-bindings.test 1010s # Running test: glib/ifaceproperties.test 1010s TAP version 14 1010s # random seed: R02S3453094978f2388aa65577cc124f8625 1010s 1..7 1010s # Start of interface tests 1010s # Start of properties tests 1010s ok 1 /interface/properties/set 1010s ok 2 /interface/properties/notify 1010s ok 3 /interface/properties/find-overridden 1010s ok 4 /interface/properties/list-overridden 1010s ok 5 /interface/properties/find-interface 1010s ok 6 /interface/properties/list-interface 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1010s ok 7 /interface/properties/not-overridden 1010s # End of properties tests 1010s # End of interface tests 1010s ok - glib/ifaceproperties.test 1010s # Running test: glib/gdbus-proxy-unique-name.test 1010s TAP version 14 1010s # random seed: R02S5e1be173934a269f71b287bfeb3aec2c 1010s 1..1 1010s # Start of gdbus tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_TTN652/gdbus/proxy-unique-name/.dirs/runtime 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok 1 /gdbus/proxy-unique-name 1010s # End of gdbus tests 1010s ok - glib/gdbus-proxy-unique-name.test 1010s # Running test: glib/gdbus-exit-on-close.test 1010s TAP version 14 1010s # random seed: R02S7512fdaa6fb356ca7639552e7e11a6db 1010s 1..4 1010s # Start of gdbus tests 1010s # Start of exit-on-close tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/default/.dirs/runtime 1010s ok 1 /gdbus/exit-on-close/default 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/true/.dirs/runtime 1010s ok 2 /gdbus/exit-on-close/true 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/false/.dirs/runtime 1010s ok 3 /gdbus/exit-on-close/false 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FU1652/gdbus/exit-on-close/we-close/.dirs/runtime 1010s ok - glib/gdbus-exit-on-close.test 1010s ok 4 /gdbus/exit-on-close/we-close 1010s # Start of default tests 1010s # End of default tests 1010s # Start of true tests 1010s # End of true tests 1010s # Start of false tests 1010s # End of false tests 1010s # Start of we-close tests 1010s # End of we-close tests 1010s # End of exit-on-close tests 1010s # End of gdbus tests 1010s # Running test: glib/data-output-stream.test 1010s TAP version 14 1010s # random seed: R02S1bb7624f873a820d4a7a17e227e1110e 1010s 1..7 1010s # Start of data-output-stream tests 1010s ok 1 /data-output-stream/basic 1010s ok 2 /data-output-stream/write-lines-LF 1010s ok 3 /data-output-stream/write-lines-CR 1010s ok 4 /data-output-stream/write-lines-CR-LF 1010s ok - glib/data-output-stream.test 1010s # Running test: glib/gdbus-proxy.test 1010s ok 5 /data-output-stream/write-int 1010s ok 6 /data-output-stream/seek 1010s ok 7 /data-output-stream/truncate 1010s # End of data-output-stream tests 1010s TAP version 14 1010s # random seed: R02S743f9ef72561db4f909775ebee4b3c6b 1010s 1..5 1010s # Start of gdbus tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/.dirs/runtime 1012s # Executing: glib/gdbus-proxy.test 1012s ok 1 /gdbus/proxy 1012s # slow test /gdbus/proxy executed in 1.72 secs 1012s # Start of proxy tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-properties/.dirs/runtime 1012s ok 2 /gdbus/proxy/no-properties 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/wellknown-noauto/.dirs/runtime 1012s ok 3 /gdbus/proxy/wellknown-noauto 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/async/.dirs/runtime 1014s ok 4 /gdbus/proxy/async 1014s # slow test /gdbus/proxy/async executed in 1.73 secs 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MU2R52/gdbus/proxy/no-match-rule/.dirs/runtime 1014s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1015s ok 5 /gdbus/proxy/no-match-rule 1015s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1015s # End of proxy tests 1015s # End of gdbus tests 1015s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1015s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1015s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1015s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1015s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1015s ok - glib/gdbus-proxy.test 1015s # Running test: glib/io-channel-basic.test 1015s TAP version 14 1015s # random seed: R02S9a9b460f1c7c324a54388a2da9828165 1015s 1..1 1015s # Start of gio tests 1015s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1015s # random seed: R02S5ee750f52a69b099ff81b7abdd356b60 1016s # GLib-DEBUG: io-channel-basic: child writing 8+2406 bytes to 6 1016s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 5: 2406 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+4326 bytes to 6 1016s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 5: 4326 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+914 bytes to 6 1016s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 5: 914 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+3704 bytes to 6 1016s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 5: 3704 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+4940 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 4940 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # Executing: glib/io-channel-basic.test 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2825 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 2825 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2779 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 2779 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1924 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 1924 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+4024 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 4024 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+2546 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 2546 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+4743 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 4743 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+4241 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 4241 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+2520 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 2520 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+2714 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 2714 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+487 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 487 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+3091 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 3091 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+2413 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 2413 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+309 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 309 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+3886 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 3886 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+3991 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 3991 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+1601 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 1601 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1021s # random seed: R02Sd107c80e0eef81c1fd8554c522f35316 1021s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1021s # random seed: R02Se4887265be483fbc9437de69e369347d 1021s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1021s # random seed: R02Se1ec87cbffd7129c592c198e625f0d98 1021s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1021s # random seed: R02Se49ba0ebfc4e45c2a942b455482786d6 1021s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1021s # random seed: R02Sed59f8eabc650f80c9b8cfccd976177b 1021s # GLib-DEBUG: io-channel-basic: child writing 8+4147 bytes to 17 1021s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 16: 4147 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+1704 bytes to 13 1021s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 12: 1704 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+643 bytes to 15 1021s # GLib-DEBUG: io-channel-basic: child writing 8+1613 bytes to 9 1021s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 8: 1613 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1021s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 14: 643 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+548 bytes to 11 1021s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 10: 548 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+2806 bytes to 13 1021s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 12: 2806 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+1463 bytes to 17 1021s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 16: 1463 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 11 1021s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 10: 2524 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+110 bytes to 9 1021s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 8: 110 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+3429 bytes to 15 1021s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 14: 3429 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4141 bytes to 17 1022s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 16: 4141 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4086 bytes to 13 1022s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 12: 4086 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+1672 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 1672 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2570 bytes to 11 1022s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 10: 2570 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2587 bytes to 15 1022s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 14: 2587 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+1281 bytes to 17 1022s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 16: 1281 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+3169 bytes to 13 1022s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 12: 3169 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4264 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 4264 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1022s # Executing: glib/io-channel-basic.test 1022s # GLib-DEBUG: io-channel-basic: child writing 8+1651 bytes to 11 1022s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 10: 1651 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+1649 bytes to 15 1022s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 14: 1649 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+3185 bytes to 17 1022s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 16: 3185 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2037 bytes to 13 1022s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 12: 2037 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+3271 bytes to 15 1022s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 14: 3271 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4200 bytes to 11 1022s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 10: 4200 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+1187 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 1187 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2330 bytes to 17 1022s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 16: 2330 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4596 bytes to 13 1022s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 12: 4596 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+1552 bytes to 15 1022s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 14: 1552 bytes 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2624 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 2624 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2567 bytes to 11 1022s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 10: 2567 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1124 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 1124 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2095 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 2095 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1102 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 1102 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3191 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 3191 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2038 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 2038 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2635 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 2635 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2700 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 2700 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2851 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 2851 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+4000 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 4000 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+89 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 89 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+4837 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 4837 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1677 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 1677 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+396 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 396 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+4740 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 4740 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3450 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 3450 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+4675 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 4675 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+4622 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 4622 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3520 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 3520 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1629 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 1629 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3031 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 3031 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3862 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 3862 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2384 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 2384 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1613 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 1613 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1127 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 1127 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2641 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 2641 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2988 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 2988 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+4295 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 4295 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+522 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 522 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+405 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 405 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2194 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 2194 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+638 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 638 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1265 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 1265 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+4590 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 4590 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3091 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 3091 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3233 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 3233 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3973 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 3973 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+4406 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 4406 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2443 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 2443 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3595 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 3595 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3093 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 3093 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1800 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 1800 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+166 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 166 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+3803 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 3803 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4334 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 4334 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4355 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 4355 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+578 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 578 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+178 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 178 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4842 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 4842 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+3709 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 3709 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1810 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 1810 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+2771 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 2771 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4594 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 4594 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+341 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 341 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+2231 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 2231 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+2464 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 2464 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+728 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 728 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1911 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 1911 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3109 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 3109 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1238 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 1238 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3945 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 3945 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+4214 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 4214 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+245 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 245 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3139 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 3139 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1583 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 1583 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1846 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 1846 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+2445 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 2445 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+708 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 708 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3769 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 3769 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1588 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 1588 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+2078 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 2078 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1300 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 1300 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+4828 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 4828 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+442 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 442 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3298 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 3298 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+101 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 101 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+3391 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 3391 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+568 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 568 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1027s # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 16 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s ok 1 /gio/io-basics 1027s # slow test /gio/io-basics executed in 11.46 secs 1027s # End of gio tests 1027s ok - glib/io-channel-basic.test 1027s # Running test: glib/gdbus-error.test 1027s TAP version 14 1027s # random seed: R02Sc16e9ebb09db71650bc6710f37c460a8 1027s 1..4 1027s # Start of gdbus tests 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2QJ752/gdbus/registered-errors/.dirs/runtime 1027s ok 1 /gdbus/registered-errors 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2QJ752/gdbus/unregistered-errors/.dirs/runtime 1027s ok 2 /gdbus/unregistered-errors 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2QJ752/gdbus/transparent-gerror/.dirs/runtime 1027s ok 3 /gdbus/transparent-gerror 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2QJ752/gdbus/register-error/.dirs/runtime 1027s ok 4 /gdbus/register-error 1027s # End of gdbus tests 1027s ok - glib/gdbus-error.test 1027s # Running test: glib/gobject-private.test 1027s TAP version 14 1027s # random seed: R02S7d59aff01572c1cd96c3f89d5fb45cb7 1027s 1..3 1027s ok - glib/gobject-private.test 1027s # Running test: glib/tls-interaction.test 1027s ok - glib/tls-interaction.test 1027s # Running test: glib/once.test 1027s # Start of private tests 1027s ok 1 /private/instance 1027s ok 2 /private/derived-instance 1027s ok 3 /private/mixed-derived-instance 1027s # End of private tests 1027s TAP version 14 1027s # random seed: R02Sf9a4bc28471ed0475c48cc9da378977a 1027s 1..42 1027s # Start of tls-interaction tests 1027s # Start of ask-password tests 1027s # Start of invoke-with-loop tests 1027s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1027s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1027s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1027s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1027s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1027s # End of invoke-with-loop tests 1027s # Start of invoke-without-loop tests 1027s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1027s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1027s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1027s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1027s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1027s # End of invoke-without-loop tests 1027s # Start of invoke-in-loop tests 1027s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1027s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1027s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1027s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1027s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1027s # End of invoke-in-loop tests 1027s # Start of sync tests 1027s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1027s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1027s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1027s # End of sync tests 1027s # Start of async tests 1027s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1027s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1027s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1027s # End of async tests 1027s # End of ask-password tests 1027s # Start of request-certificate tests 1027s # Start of invoke-with-loop tests 1027s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1027s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1027s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1027s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1027s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1027s # End of invoke-with-loop tests 1027s # Start of invoke-without-loop tests 1027s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1027s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1027s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1027s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1027s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1027s # End of invoke-without-loop tests 1027s # Start of invoke-in-loop tests 1027s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1027s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1027s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1027s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1027s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1027s # End of invoke-in-loop tests 1027s # Start of sync tests 1027s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1027s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1027s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1027s # End of sync tests 1027s # Start of async tests 1027s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1027s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1027s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1027s # End of async tests 1027s # End of request-certificate tests 1027s # End of tls-interaction tests 1027s TAP version 14 1027s # random seed: R02Sec07131b31ab9208f4f094d9980279e8 1027s 1..5 1027s # Start of once tests 1027s # /once/single-threaded summary: Test g_once() usage from a single thread 1027s ok 1 /once/single-threaded 1027s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1027s ok 2 /once/multi-threaded 1027s # End of once tests 1027s # Start of once-init tests 1027s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1027s ok 3 /once-init/single-threaded 1027s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1027s ok 4 /once-init/multi-threaded 1027s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1027s ok 5 /once-init/string 1027s # End of once-init tests 1027s TAP version 14 1027s # random seed: R02S698e396e569a497b53a19a91d575fab5 1027s 1..7 1027s # Start of portal-support tests 1027s # Start of snap tests 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/no-snapctl: No such file or directory 1027s ok 1 /portal-support/snap/no-snapctl 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/cache 1027s ok - glib/once.test 1027s # Running test: glib/portal-support-snap.test 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/none/.dirs/runtime/snapctl 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/none: No such file or directory 1027s ok 2 /portal-support/snap/none 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/cache 1027s # Executing: glib/portal-support-snap.test 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/all/.dirs/runtime/snapctl 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/all: No such file or directory 1027s ok 3 /portal-support/snap/all 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/desktop-only: No such file or directory 1027s ok 4 /portal-support/snap/desktop-only 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only/.dirs/runtime/snapctl 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/network-only: No such file or directory 1027s ok 5 /portal-support/snap/network-only 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/gsettings-only: No such file or directory 1027s ok 6 /portal-support/snap/gsettings-only 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime 1027s # Created snap.yaml in /tmp/test_portal-support-snap_P69752/meta/snap.yaml 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s # Created snapctl in /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752/portal-support/snap/updates-dynamically: No such file or directory 1027s ok 7 /portal-support/snap/updates-dynamically 1027s # End of snap tests 1027s # End of portal-support tests 1027s Unable to clean up temporary directory /tmp/test_portal-support-snap_P69752: No such file or directory 1027s ok - glib/portal-support-snap.test 1027s # Running test: glib/timeout.test 1027s TAP version 14 1027s # random seed: R02S88cf6f228a1869ca4ded8a9bd8402d24 1027s 1..5 1027s # Start of timeout tests 1027s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1029s ok 1 /timeout/seconds 1029s # slow test /timeout/seconds executed in 2.10 secs 1031s ok 2 /timeout/seconds-once 1031s # slow test /timeout/seconds-once executed in 2.10 secs 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1032s # Executing: glib/timeout.test 1033s ok 3 /timeout/weeks-overflow 1033s # slow test /timeout/weeks-overflow executed in 2.10 secs 1033s ok 4 /timeout/far-future-ready-time 1037s # Executing: glib/timeout.test 1042s # Executing: glib/timeout.test 1044s ok 5 /timeout/rounding 1044s # slow test /timeout/rounding executed in 10.74 secs 1044s # End of timeout tests 1044s ok - glib/timeout.test 1044s # Running test: glib/gsubprocess.test 1044s TAP version 14 1044s # random seed: R02Sb0ce0304c371b45f20c80b9049e1232f 1044s 1..84 1044s # Start of gsubprocess tests 1044s ok 1 /gsubprocess/noop 1044s ok 2 /gsubprocess/noop-all-to-null 1044s ok 3 /gsubprocess/noop-no-wait 1044s ok 4 /gsubprocess/noop-stdin-inherit 1044s ok 5 /gsubprocess/search-path 1044s ok 6 /gsubprocess/search-path-from-envp 1047s # Executing: glib/gsubprocess.test 1047s ok 7 /gsubprocess/signal 1047s # slow test /gsubprocess/signal executed in 2.89 secs 1047s ok 8 /gsubprocess/exit1 1047s ok 9 /gsubprocess/echo1 1047s ok 10 /gsubprocess/echo-merged 1047s ok 11 /gsubprocess/cat-utf8 1048s ok 12 /gsubprocess/cat-eof 1048s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1051s ok 13 /gsubprocess/multi1 1051s # slow test /gsubprocess/multi1 executed in 3.01 secs 1051s ok 14 /gsubprocess/communicate 1052s # Executing: glib/gsubprocess.test 1054s ok 15 /gsubprocess/terminate 1054s # slow test /gsubprocess/terminate executed in 2.98 secs 1054s ok 16 /gsubprocess/fail-initialization 1054s ok 17 /gsubprocess/env 1054s ok 18 /gsubprocess/cwd 1054s ok 19 /gsubprocess/launcher-close 1054s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1054s ok 20 /gsubprocess/stdout-file 1054s ok 21 /gsubprocess/stdout-fd 1054s ok 22 /gsubprocess/child-setup 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s ok 23 /gsubprocess/launcher-environment 1054s # Start of exit1 tests 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1054s ok 24 /gsubprocess/exit1/cancel 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1054s ok 25 /gsubprocess/exit1/cancel_in_cb 1054s # End of exit1 tests 1054s # Start of communicate tests 1054s ok 26 /gsubprocess/communicate/cancelled 1054s ok 27 /gsubprocess/communicate/async 1054s ok 28 /gsubprocess/communicate/utf8 1054s # hello world 1054s ok 29 /gsubprocess/communicate/no-pipes 1054s ok 30 /gsubprocess/communicate/separate-stderr 1054s ok 31 /gsubprocess/communicate/stdout-only 1054s # hello world 1054s ok 32 /gsubprocess/communicate/stderr-only 1054s ok 33 /gsubprocess/communicate/stdout-silence 1054s ok 34 /gsubprocess/communicate/nothing 1054s # Start of async tests 1054s ok 35 /gsubprocess/communicate/async/cancelled 1054s # hello world 1054s ok 36 /gsubprocess/communicate/async/no-pipes 1054s ok 37 /gsubprocess/communicate/async/separate-stderr 1054s ok 38 /gsubprocess/communicate/async/stdout-only 1054s # hello world 1054s ok 39 /gsubprocess/communicate/async/stderr-only 1054s ok 40 /gsubprocess/communicate/async/stdout-silence 1054s # Start of cancelled tests 1054s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1054s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1054s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1054s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1054s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of async tests 1054s # Start of utf8 tests 1054s ok 46 /gsubprocess/communicate/utf8/cancelled 1054s ok 47 /gsubprocess/communicate/utf8/async 1054s # hello world 1054s ok 48 /gsubprocess/communicate/utf8/no-pipes 1054s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1054s ok 50 /gsubprocess/communicate/utf8/stdout-only 1054s # hello world 1054s ok 51 /gsubprocess/communicate/utf8/stderr-only 1054s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1054s ok 53 /gsubprocess/communicate/utf8/invalid 1054s # Start of async tests 1054s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1054s # hello world 1054s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1054s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1054s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1054s # hello world 1054s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1054s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1054s ok 60 /gsubprocess/communicate/utf8/async/invalid 1054s # Start of cancelled tests 1054s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1054s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1054s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1054s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1054s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of async tests 1054s # Start of cancelled tests 1054s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1054s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1054s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1054s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1054s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of utf8 tests 1054s # Start of cancelled tests 1054s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1054s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1054s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1054s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1054s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of communicate tests 1054s # Start of env tests 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s ok 76 /gsubprocess/env/inherit 1054s # End of env tests 1054s # Start of pass-fd tests 1054s ok 77 /gsubprocess/pass-fd/basic 1054s ok 78 /gsubprocess/pass-fd/empty-child-setup 1054s ok 79 /gsubprocess/pass-fd/inherit-fds 1054s # End of pass-fd tests 1054s # Start of fd-conflation tests 1054s ok 80 /gsubprocess/fd-conflation/basic 1054s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1054s ok 82 /gsubprocess/fd-conflation/inherit-fds 1054s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1054s # End of fd-conflation tests 1054s # Start of exit-status tests 1054s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1054s ok 84 /gsubprocess/exit-status/trapped 1054s # End of exit-status tests 1054s # End of gsubprocess tests 1054s ok - glib/gsubprocess.test 1054s # Running test: glib/autoptr.test 1054s TAP version 14 1054s # random seed: R02S3b7300808f655a2cf06f3ab7a05b261d 1054s 1..6 1054s # Start of autoptr tests 1054s ok 1 /autoptr/autoptr 1054s ok 2 /autoptr/autoptr_steal 1054s ok 3 /autoptr/autolist 1054s ok 4 /autoptr/autoslist 1054s ok 5 /autoptr/autoqueue 1054s ok 6 /autoptr/autoclass 1054s # End of autoptr tests 1054s ok - glib/autoptr.test 1054s # Running test: glib/cxx-20.test 1054s TAP version 14 1054s # random seed: R02S15c7db358e4020872427ca9f5a1276ad 1054s 1..2 1054s # Start of gtask tests 1054s # 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. 1054s ok 1 /gtask/name 1054s # Start of name tests 1054s # 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. 1054s ok 2 /gtask/name/macro-wrapper 1054s # End of name tests 1054s # End of gtask tests 1054s ok - glib/cxx-20.test 1054s # Running test: glib/dynamictests.test 1054s TAP version 14 1054s # random seed: R02Sbd97ac4db77a9071873cf6642de9c584 1054s 1..2 1054s # Start of GObject tests 1054s ok - glib/dynamictests.test 1054s ok 1 /GObject/threaded-dynamic-ref-unref-init 1054s ok 2 /GObject/dynamic-interface-properties 1054s # End of GObject tests 1054s # Running test: glib/gdbus-introspection.test 1054s TAP version 14 1054s # random seed: R02Scf68b1dc1a8fe41414e92beac80696f6 1054s 1..4 1054s # Start of gdbus tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-parser/.dirs/runtime 1054s ok 1 /gdbus/introspection-parser 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-generate/.dirs/runtime 1054s ok 2 /gdbus/introspection-generate 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-default-direction/.dirs/runtime 1054s ok 3 /gdbus/introspection-default-direction 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NIZC62/gdbus/introspection-extra-data/.dirs/runtime 1054s ok 4 /gdbus/introspection-extra-data 1054s # End of gdbus tests 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s ok - glib/gdbus-introspection.test 1054s # Running test: glib/struct-info.test 1054s TAP version 14 1054s # random seed: R02S6e492a7bc98109a5a8c45d98131124c5 1054s 1..4 1054s # Start of struct-info tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_REZQ52/struct-info/field-iterators/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1054s ok - glib/struct-info.test 1054s ok 1 /struct-info/field-iterators 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_REZQ52/struct-info/sizeof-gvalue/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1054s ok 2 /struct-info/sizeof-gvalue 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_REZQ52/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1054s ok 3 /struct-info/is-pointer-for-struct-method-arg 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_REZQ52/struct-info/boxed/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1054s ok 4 /struct-info/boxed 1054s # End of struct-info tests 1054s # Running test: glib/rec-mutex.test 1054s TAP version 14 1054s # random seed: R02S60834f264a6d27ff40817feb73159b16 1054s 1..29 1054s # Start of thread tests 1054s ok 1 /thread/rec-mutex1 1054s ok 2 /thread/rec-mutex2 1054s ok 3 /thread/rec-mutex3 1054s ok 4 /thread/rec-mutex4 1054s # Start of rec-mutex tests 1054s # Start of perf tests 1054s # Start of uncontended tests 1054s # max perf: 1.000000 mips 1054s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1054s # max perf: inf mips 1054s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1054s # max perf: 1.000000 mips 1054s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1054s # max perf: inf mips 1054s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1054s # max perf: 1.000000 mips 1054s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1054s # End of uncontended tests 1054s # Start of contended1 tests 1054s # max perf: inf mips 1054s ok 10 /thread/rec-mutex/perf/contended1/depth1 1054s # max perf: 2.000000 mips 1054s ok 11 /thread/rec-mutex/perf/contended1/depth2 1054s # max perf: 2.000000 mips 1054s ok 12 /thread/rec-mutex/perf/contended1/depth3 1054s # max perf: 2.000000 mips 1054s ok 13 /thread/rec-mutex/perf/contended1/depth4 1054s # max perf: 2.000000 mips 1054s ok 14 /thread/rec-mutex/perf/contended1/depth5 1054s # End of contended1 tests 1054s # Start of contended2 tests 1054s # max perf: inf mips 1054s ok 15 /thread/rec-mutex/perf/contended2/depth1 1054s # max perf: 3.000000 mips 1054s ok 16 /thread/rec-mutex/perf/contended2/depth2 1054s # max perf: 3.000000 mips 1054s ok 17 /thread/rec-mutex/perf/contended2/depth3 1054s # max perf: 3.000000 mips 1054s ok 18 /thread/rec-mutex/perf/contended2/depth4 1054s # max perf: 3.000000 mips 1054s ok 19 /thread/rec-mutex/perf/contended2/depth5 1054s # End of contended2 tests 1054s # Start of contended3 tests 1054s # max perf: 4.000000 mips 1054s ok 20 /thread/rec-mutex/perf/contended3/depth1 1054s ok - glib/rec-mutex.test 1054s # max perf: 4.000000 mips 1054s ok 21 /thread/rec-mutex/perf/contended3/depth2 1054s # max perf: 4.000000 mips 1054s ok 22 /thread/rec-mutex/perf/contended3/depth3 1054s # max perf: 4.000000 mips 1054s ok 23 /thread/rec-mutex/perf/contended3/depth4 1054s # max perf: 2.000000 mips 1054s ok 24 /thread/rec-mutex/perf/contended3/depth5 1054s # End of contended3 tests 1054s # Start of contended4 tests 1054s # max perf: 5.000000 mips 1054s ok 25 /thread/rec-mutex/perf/contended4/depth1 1054s # max perf: 5.000000 mips 1054s ok 26 /thread/rec-mutex/perf/contended4/depth2 1054s # max perf: 5.000000 mips 1054s ok 27 /thread/rec-mutex/perf/contended4/depth3 1054s # max perf: 5.000000 mips 1054s ok 28 /thread/rec-mutex/perf/contended4/depth4 1054s # max perf: 2.500000 mips 1054s ok 29 /thread/rec-mutex/perf/contended4/depth5 1054s # End of contended4 tests 1054s # End of perf tests 1054s # End of rec-mutex tests 1054s # End of thread tests 1054s # Running test: glib/autoptr-girepository.test 1054s TAP version 14 1054s # random seed: R02S08f2b39a1e9d79e96c39ce8498972467 1054s 1..24 1054s # Start of autoptr tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/repository/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 1 /autoptr/repository 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/typelib/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 2 /autoptr/typelib 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/base-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 3 /autoptr/base-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/arg-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 4 /autoptr/arg-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callable-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 5 /autoptr/callable-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/callback-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 6 /autoptr/callback-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/constant-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 7 /autoptr/constant-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/enum-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 8 /autoptr/enum-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/field-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 9 /autoptr/field-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/flags-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 10 /autoptr/flags-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/function-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 11 /autoptr/function-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/interface-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 12 /autoptr/interface-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/object-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 13 /autoptr/object-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/property-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 14 /autoptr/property-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/registered-type-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 15 /autoptr/registered-type-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/signal-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 16 /autoptr/signal-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/struct-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 17 /autoptr/struct-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/type-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 18 /autoptr/type-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/union-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 19 /autoptr/union-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/value-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 20 /autoptr/value-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/autoptr/vfunc-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 21 /autoptr/vfunc-info 1054s # End of autoptr tests 1054s # Start of auto tests 1054s ok - glib/autoptr-girepository.test 1054s # Running test: glib/gi-compile-repository.py.test 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/auto/arg-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 22 /auto/arg-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/auto/type-info/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 23 /auto/type-info 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_ZNZS52/auto/function-invoker/.dirs/runtime 1054s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1054s ok 24 /auto/function-invoker 1054s # End of auto tests 1054s TAP version 13 1054s ok 1 __main__.TestGICompileRepository.test_open_failure 1054s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1054s # gi-compile-repository: /usr/bin/gi-compile-repository 1054s # tmpdir: /tmp/tmp1ji5k7sx 1054s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp1ji5k7sx/invalid.typelib'] 1054s # Return code: 1 1054s # Output: 1054s # 1054s # Error: 1054s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory 1054s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1054s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1054s # gi-compile-repository: /usr/bin/gi-compile-repository 1054s # tmpdir: /tmp/tmp1pgdpm6a 1054s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmp1pgdpm6a/GLib-2.typelib'] 1054s # Return code: 0 1054s # Output: 1054s # 1054s # Error: 1055s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1055s # gi-compile-repository: /usr/bin/gi-compile-repository 1055s # tmpdir: /tmp/tmpxufags0o 1055s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 1055s # Return code: 1 1055s # Output: 1055s # 1055s # Error: 1055s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1055s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1055s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1055s # gi-compile-repository: /usr/bin/gi-compile-repository 1055s # tmpdir: /tmp/tmp5456pu5s 1055s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp5456pu5s/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1055s # Return code: 0 1055s # Output: 1055s # 1055s # Error: 1055s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1055s # gi-compile-repository: /usr/bin/gi-compile-repository 1055s # tmpdir: /tmp/tmpzp_b47ng 1055s # 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/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1055s # Return code: 1 1055s # Output: 1055s # 1055s # Error: 1055s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1056s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1056s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1056s # gi-compile-repository: /usr/bin/gi-compile-repository 1056s # tmpdir: /tmp/tmpd8quvkg8 1056s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpd8quvkg8/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1056s # Return code: 0 1056s # Output: 1056s # 1056s # Error: 1056s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1056s # gi-compile-repository: /usr/bin/gi-compile-repository 1056s # tmpdir: /tmp/tmpbeppvqb0 1056s # 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/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1056s # Return code: 1 1056s # Output: 1056s # 1056s # Error: 1056s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1056s 1..7 1056s ok - glib/gi-compile-repository.py.test 1056s # Running test: glib/messages-low-memory.py.test 1056s TAP version 13 1056s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1056s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1056s # tmpdir: /tmp/tmptyr0mr25 1056s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1056s # Return code: -6 1056s # Output: 1056s # 1056s # Error: 1056s # GLib-Message: 01:05:45.770: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1056s # GLib-Message: 01:05:45.770: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1056s # ../../../glib/gprintf.c:350: failed to allocate memory 1056s 1..1 1056s ok - glib/messages-low-memory.py.test 1056s TAP version 14 1056s # random seed: R02S8cb0fc344855e30c6a9a3fe55d11ab47 1056s 1..7 1056s # Start of thread tests 1056s ok 1 /thread/thread1 1056s ok 2 /thread/thread2 1056s ok 3 /thread/thread3 1056s ok 4 /thread/thread4 1056s ok 5 /thread/thread5 1056s # Running test: glib/thread.test 1056s ok 6 /thread/thread6 1056s ok 7 /thread/thread7 1056s # End of thread tests 1056s TAP version 14 1056s # random seed: R02Se20d6d6d62de3d954f8357eb117ada60 1056s 1..1 1056s # Start of credentials tests 1056s ok - glib/thread.test 1056s # Running test: glib/credentials.test 1056s ok - glib/credentials.test 1056s # Running test: glib/resolver-parsing.test 1056s # GCredentials:linux-ucred:pid=14629,uid=1000,gid=1000 1056s # GCredentials:linux-ucred:pid=14629,uid=0,gid=1000 1056s ok 1 /credentials/basic 1056s # End of credentials tests 1056s TAP version 14 1056s # random seed: R02S160768fb4814db0c3c370d7e2aa05548 1056s 1..21 1056s # Start of gresolver tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/invalid-header/.dirs/runtime 1056s ok 1 /gresolver/invalid-header 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/record-ownership/.dirs/runtime 1056s ok 2 /gresolver/record-ownership 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/unknown-record-type/.dirs/runtime 1056s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1056s ok 3 /gresolver/unknown-record-type 1056s # Start of mx tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/valid/.dirs/runtime 1056s ok 4 /gresolver/mx/valid 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/.dirs/runtime 1056s ok 5 /gresolver/mx/invalid 1056s # Start of invalid tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short/.dirs/runtime 1056s ok 6 /gresolver/mx/invalid/too-short 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/mx/invalid/too-short2/.dirs/runtime 1056s ok 7 /gresolver/mx/invalid/too-short2 1056s # End of invalid tests 1056s # End of mx tests 1056s # Start of ns tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/valid/.dirs/runtime 1056s ok 8 /gresolver/ns/valid 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/ns/invalid/.dirs/runtime 1056s ok 9 /gresolver/ns/invalid 1056s # End of ns tests 1056s # Start of soa tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/valid/.dirs/runtime 1056s ok 10 /gresolver/soa/valid 1056s # Start of invalid tests 1056s ok - glib/resolver-parsing.test 1056s # Running test: glib/resources.test 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/mname/.dirs/runtime 1056s ok 11 /gresolver/soa/invalid/mname 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/rname/.dirs/runtime 1056s ok 12 /gresolver/soa/invalid/rname 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/soa/invalid/too-short/.dirs/runtime 1056s ok 13 /gresolver/soa/invalid/too-short 1056s # End of invalid tests 1056s # End of soa tests 1056s # Start of srv tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/valid/.dirs/runtime 1056s ok 14 /gresolver/srv/valid 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/.dirs/runtime 1056s ok 15 /gresolver/srv/invalid 1056s # Start of invalid tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short/.dirs/runtime 1056s ok 16 /gresolver/srv/invalid/too-short 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/srv/invalid/too-short2/.dirs/runtime 1056s ok 17 /gresolver/srv/invalid/too-short2 1056s # End of invalid tests 1056s # End of srv tests 1056s # Start of txt tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/.dirs/runtime 1056s ok 18 /gresolver/txt/valid 1056s # Start of valid tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/valid/multiple-strings/.dirs/runtime 1056s ok 19 /gresolver/txt/valid/multiple-strings 1056s # End of valid tests 1056s # Start of invalid tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/empty/.dirs/runtime 1056s ok 20 /gresolver/txt/invalid/empty 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_SD7V52/gresolver/txt/invalid/overflow/.dirs/runtime 1056s ok 21 /gresolver/txt/invalid/overflow 1056s # End of invalid tests 1056s # End of txt tests 1056s # End of gresolver tests 1056s TAP version 14 1056s # random seed: R02Sbd58f88abce8f4dd7ca1ea354a4ac597 1056s 1..19 1056s # Start of resource tests 1056s ok 1 /resource/file 1056s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1056s ok 2 /resource/file-path 1056s ok 3 /resource/data 1056s ok 4 /resource/data_unaligned 1056s ok 5 /resource/data-corrupt 1056s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1056s ok 6 /resource/data-corrupt-compression 1056s ok 7 /resource/data-empty 1056s ok 8 /resource/registered 1056s ok 9 /resource/manual 1056s ok 10 /resource/manual2 1056s ok 11 /resource/automatic 1056s ok 12 /resource/module 1056s ok 13 /resource/binary-linked 1056s ok 14 /resource/64k 1056s ok - glib/resources.test 1056s # Running test: glib/power-profile-monitor.test 1056s ok - glib/power-profile-monitor.test 1056s # Running test: glib/test-printf.test 1056s ok - glib/test-printf.test 1056s # Running test: glib/sandbox.test 1056s GLib-GIO-Message: 01:05:45.804: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1056s GLib-GIO-Message: 01:05:45.804: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1056s GLib-GIO-Message: 01:05:45.804: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1056s ok 15 /resource/overlay 1056s ok 16 /resource/digits 1056s ok 17 /resource/has-children 1056s # Start of uri tests 1056s ok 18 /resource/uri/query-info 1056s ok 19 /resource/uri/file 1056s # End of uri tests 1056s # End of resource tests 1056s TAP version 14 1056s # random seed: R02Seb742bdc4d18627796b221d4744d3caf 1056s 1..1 1056s # Start of power-profile-monitor tests 1056s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1056s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1056s ok 1 /power-profile-monitor/default 1056s # End of power-profile-monitor tests 1056s TAP version 14 1056s # random seed: R02S58776abc3c6c8deb40017d27975424cf 1056s 1..22 1056s # Start of snprintf tests 1056s ok 1 /snprintf/retval-and-trunc 1056s ok 2 /snprintf/%d 1056s ok 3 /snprintf/%d-invalid 1056s ok 4 /snprintf/%o 1056s ok 5 /snprintf/%u 1056s ok 6 /snprintf/%x 1056s ok 7 /snprintf/%X 1056s ok 8 /snprintf/%f 1056s ok 9 /snprintf/%e 1056s ok 10 /snprintf/%c 1056s ok 11 /snprintf/%s 1056s ok 12 /snprintf/%n 1056s ok 13 /snprintf/test-percent 1056s ok 14 /snprintf/test-positional-params 1056s ok 15 /snprintf/test-64bit 1056s # End of snprintf tests 1056s # Start of printf tests 1056s ok 16 /printf/test-percent 1056s ok 17 /printf/test-positional-params 1056s ok 18 /printf/test-64bit 1056s # Start of test-64bit tests 1056s # Start of subprocess tests 1056s # End of subprocess tests 1056s # End of test-64bit tests 1056s # End of printf tests 1056s # Start of sprintf tests 1056s ok 19 /sprintf/test-positional-params 1056s ok 20 /sprintf/upper-bound 1056s # End of sprintf tests 1056s # Start of vasprintf tests 1056s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1056s ok 21 /vasprintf/invalid-format-placeholder 1056s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1056s ok 22 /vasprintf/invalid-wide-string 1056s # End of vasprintf tests 1056s TAP version 14 1056s ok - glib/sandbox.test 1056s # Running test: glib/dataset.test 1056s # random seed: R02S58f58f8d6b84a88f63c39c18345c4ffe 1056s 1..4 1056s # Start of sandbox tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_93VW52/sandbox/none/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_93VW52/sandbox/none/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_93VW52/sandbox/none/.dirs/runtime 1056s ok 1 /sandbox/none 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_93VW52/sandbox/snap/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_93VW52/sandbox/snap/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_93VW52/sandbox/snap/.dirs/runtime 1056s # Created snap.yaml in /tmp/test_sandbox_93VW52/snap/current/meta/snap.yaml 1056s ok 2 /sandbox/snap 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_93VW52/sandbox/classic-snap/.dirs/runtime 1056s # Created snap.yaml in /tmp/test_sandbox_93VW52/snap/current/meta/snap.yaml 1056s ok 3 /sandbox/classic-snap 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/runtime 1056s # Creating .flatpak-info in /tmp/test_sandbox_93VW52/sandbox/flatpak/.dirs/runtime/.flatpak-info 1056s ok 4 /sandbox/flatpak 1056s # End of sandbox tests 1056s TAP version 14 1056s # random seed: R02S84c51149e6880f4a3ae3c9f4c8a0599c 1056s 1..14 1056s # Start of quark tests 1056s ok 1 /quark/basic 1056s ok 2 /quark/string 1056s # End of quark tests 1056s # Start of dataset tests 1056s ok 3 /dataset/basic 1056s ok 4 /dataset/id 1056s ok 5 /dataset/full 1056s ok 6 /dataset/foreach 1056s ok 7 /dataset/destroy 1056s # End of dataset tests 1056s # Start of datalist tests 1056s ok 8 /datalist/basic 1056s ok 9 /datalist/id 1056s ok 10 /datalist/recursive-clear 1056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1056s ok 11 /datalist/id-remove-multiple 1056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1056s ok 12 /datalist/id-remove-multiple-destroy-order 1056s ok 13 /datalist/update-atomic 1056s # Start of id-remove-multiple tests 1056s ok 14 /datalist/id-remove-multiple/resize 1056s ok - glib/dataset.test 1056s # Running test: glib/memory-input-stream.test 1056s ok - glib/memory-input-stream.test 1056s # Running test: glib/unix-fd.test 1056s ok - glib/unix-fd.test 1056s # Running test: glib/gdbus-non-socket.test 1056s # End of id-remove-multiple tests 1056s # End of datalist tests 1056s TAP version 14 1056s # random seed: R02Sd65931fee99baca5a51bacdc8efdc6cc 1056s 1..6 1056s # Start of memory-input-stream tests 1056s ok 1 /memory-input-stream/read-chunks 1056s ok 2 /memory-input-stream/async 1056s ok 3 /memory-input-stream/seek 1056s ok 4 /memory-input-stream/truncate 1056s ok 5 /memory-input-stream/read-bytes 1056s ok 6 /memory-input-stream/from-bytes 1056s # End of memory-input-stream tests 1056s TAP version 14 1056s # random seed: R02Se89e453d13bb076be4c34b4d17a84a8a 1056s 1..2 1056s # Start of unix-fd tests 1056s ok 1 /unix-fd/fd-list 1056s ok 2 /unix-fd/scm 1056s # End of unix-fd tests 1056s TAP version 14 1056s # random seed: R02S18ae06fd9057409eb2aa84d1f2a42f4a 1056s 1..1 1056s # Start of gdbus tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/data 1056s ok - glib/gdbus-non-socket.test 1056s # Running test: glib/bindinggroup.test 1056s ok - glib/bindinggroup.test 1056s # Running test: glib/custom-dispatch.test 1056s ok - glib/custom-dispatch.test 1056s # Running test: glib/macros-c-89.test 1056s ok - glib/macros-c-89.test 1056s # Running test: glib/completion.test 1056s ok - glib/completion.test 1056s # Running test: glib/properties-introspection.test 1056s ok - glib/properties-introspection.test 1056s # Running test: glib/strfuncs.test 1056s ok - glib/strfuncs.test 1056s # Running test: glib/data-input-stream.test 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_HSLX52/gdbus/non-socket/.dirs/runtime 1056s ok 1 /gdbus/non-socket 1056s # End of gdbus tests 1056s TAP version 14 1056s # random seed: R02S2ed5baf7f6a3724afcbb95e2c0886b9c 1056s 1..11 1056s # Start of GObject tests 1056s # Start of BindingGroup tests 1056s ok 1 /GObject/BindingGroup/invalid 1056s ok 2 /GObject/BindingGroup/default 1056s ok 3 /GObject/BindingGroup/bidirectional 1056s ok 4 /GObject/BindingGroup/transform 1056s ok 5 /GObject/BindingGroup/transform-closures 1056s ok 6 /GObject/BindingGroup/same-object 1056s ok 7 /GObject/BindingGroup/weak-ref-source 1056s ok 8 /GObject/BindingGroup/weak-ref-target 1056s ok 9 /GObject/BindingGroup/properties 1056s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1056s ok 11 /GObject/BindingGroup/empty-closures 1056s # End of BindingGroup tests 1056s # End of GObject tests 1056s TAP version 14 1056s # random seed: R02Sf278c8705574c659829b804267f9f699 1056s 1..2 1056s # Start of properties tests 1056s # Start of custom-dispatch tests 1056s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1056s ok 1 /properties/custom-dispatch/init 1056s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1056s ok 2 /properties/custom-dispatch/set 1056s # End of custom-dispatch tests 1056s # End of properties tests 1056s TAP version 14 1056s # random seed: R02S22f96f6e5841fa8dd4f449574ae355d8 1056s 1..4 1056s # Start of C tests 1056s ok 1 /C/standard-89 1056s # End of C tests 1056s # Start of alignof tests 1056s ok 2 /alignof/fallback 1056s # End of alignof tests 1056s # Start of assert tests 1056s ok 3 /assert/static 1056s # End of assert tests 1056s # Start of struct tests 1056s ok 4 /struct/sizeof_member 1056s # End of struct tests 1056s TAP version 14 1056s # random seed: R02Sc68e3a23e44ea8dec8f986988adf85e4 1056s 1..1 1056s # Start of completion tests 1056s ok 1 /completion/test-completion 1056s # End of completion tests 1056s TAP version 14 1056s # random seed: R02S209c12a1b989c1c5d19a1bf12fd30356 1056s 1..2 1056s # Start of properties tests 1056s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1056s ok 1 /properties/introspection 1056s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1056s ok 2 /properties/collision 1056s # End of properties tests 1056s TAP version 14 1056s # random seed: R02S4e61f1288aa54c09aaf4976d406e8938 1056s 1..51 1056s # Start of strfuncs tests 1056s ok 1 /strfuncs/ascii-strcasecmp 1056s ok 2 /strfuncs/ascii_strdown 1056s ok 3 /strfuncs/ascii_strdup 1056s ok 4 /strfuncs/ascii_strtod 1056s ok 5 /strfuncs/bounds-check 1056s ok 6 /strfuncs/has-prefix 1056s ok 7 /strfuncs/has-prefix-macro 1056s ok 8 /strfuncs/has-suffix 1056s ok 9 /strfuncs/has-suffix-macro 1056s ok 10 /strfuncs/memdup 1056s ok 11 /strfuncs/memdup2 1056s ok 12 /strfuncs/set_str 1056s ok 13 /strfuncs/stpcpy 1056s ok 14 /strfuncs/str_match_string 1056s ok 15 /strfuncs/str_tokenize_and_fold 1056s ok 16 /strfuncs/strcanon 1056s ok 17 /strfuncs/strchomp 1056s ok 18 /strfuncs/strchug 1056s ok 19 /strfuncs/strcompress-strescape 1056s ok 20 /strfuncs/strconcat 1056s ok 21 /strfuncs/strdelimit 1056s ok 22 /strfuncs/strdup 1056s ok 23 /strfuncs/strdup-printf 1056s ok 24 /strfuncs/strdupv 1056s ok 25 /strfuncs/strerror 1056s ok 26 /strfuncs/strip-context 1056s ok 27 /strfuncs/strjoin 1056s ok 28 /strfuncs/strjoinv 1056s ok 29 /strfuncs/strlcat 1056s ok 30 /strfuncs/strlcpy 1056s ok 31 /strfuncs/strncasecmp 1056s ok 32 /strfuncs/strndup 1056s ok 33 /strfuncs/strnfill 1056s ok 34 /strfuncs/strreverse 1056s ok 35 /strfuncs/strsignal 1056s ok 36 /strfuncs/strsplit 1056s ok 37 /strfuncs/strsplit-set 1056s ok 38 /strfuncs/strstr 1056s ok 39 /strfuncs/strtod 1056s ok 40 /strfuncs/strtoull-strtoll 1056s ok 41 /strfuncs/strup 1056s ok 42 /strfuncs/strv-contains 1056s ok 43 /strfuncs/strv-equal 1056s ok 44 /strfuncs/strv-length 1056s ok 45 /strfuncs/test-is-to-digit 1056s ok 46 /strfuncs/transliteration 1056s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1056s ok 47 /strfuncs/str-equal 1056s ok 48 /strfuncs/str-is-ascii 1056s # Start of ascii-string-to-num tests 1056s ok 49 /strfuncs/ascii-string-to-num/pathological 1056s ok 50 /strfuncs/ascii-string-to-num/usual 1056s # End of ascii-string-to-num tests 1056s # Start of strdup tests 1056s ok 51 /strfuncs/strdup/inline 1056s # End of strdup tests 1056s # End of strfuncs tests 1056s TAP version 14 1056s # random seed: R02S51c28400cdea79d165698e38d6922341 1056s 1..10 1056s # Start of data-input-stream tests 1056s ok 1 /data-input-stream/basic 1056s ok 2 /data-input-stream/read-lines-LF 1056s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1056s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1056s ok 5 /data-input-stream/read-lines-CR 1056s ok 6 /data-input-stream/read-lines-CR-LF 1056s ok 7 /data-input-stream/read-lines-any 1056s ok 8 /data-input-stream/read-until 1056s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1056s # Test vector 1: {"key": "value"}? and ? 1056s ok 9 /data-input-stream/read-upto 1057s ok 10 /data-input-stream/read-int 1057s # End of data-input-stream tests 1057s ok - glib/data-input-stream.test 1057s # Running test: glib/throws.test 1057s ok - glib/throws.test 1057s TAP version 14 1057s # random seed: R02Sf2de727bdb6ec7542957571ad38b203a 1057s 1..3 1057s # Start of throws tests 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FW3352/throws/invoke-gerror/.dirs/runtime 1057s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1057s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1057s ok 1 /throws/invoke-gerror 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FW3352/throws/vfunc-can-throw-gerror/.dirs/runtime 1057s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1057s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1057s ok 2 /throws/vfunc-can-throw-gerror 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FW3352/throws/callback-can-throw-gerror/.dirs/runtime 1057s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1057s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1057s ok 3 /throws/callback-can-throw-gerror 1057s # End of throws tests 1057s # Running test: glib/signals.test 1057s TAP version 14 1057s # random seed: R02S51b8fe2f030c32008e42e35c97dce365 1057s 1..31 1057s # Start of gobject tests 1057s # Start of signals tests 1057s ok 1 /gobject/signals/all-types 1057s ok 2 /gobject/signals/variant 1057s ok 3 /gobject/signals/destroy-target-object 1057s ok 4 /gobject/signals/generic-marshaller-1 1057s ok 5 /gobject/signals/generic-marshaller-2 1057s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1057s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1057s ok 8 /gobject/signals/generic-marshaller-int-return 1057s ok 9 /gobject/signals/generic-marshaller-uint-return 1057s ok 10 /gobject/signals/generic-marshaller-interface-return 1057s ok 11 /gobject/signals/custom-marshaller 1057s ok 12 /gobject/signals/connect 1057s ok 13 /gobject/signals/emission-hook 1057s ok 14 /gobject/signals/emitv 1057s ok 15 /gobject/signals/accumulator 1057s # Signal: accumulator-class-first 1057s # Signal: accumulator-class-last 1057s # Signal: accumulator-class-cleanup 1057s # Signal: accumulator-class-first-last 1057s # Signal: accumulator-class-first-last-cleanup 1057s # Signal: accumulator-class-last-cleanup 1057s ok 16 /gobject/signals/accumulator-class 1057s ok 17 /gobject/signals/introspection 1057s ok 18 /gobject/signals/block-handler 1057s ok 19 /gobject/signals/stop-emission 1057s ok 20 /gobject/signals/invocation-hint 1057s ok 21 /gobject/signals/test-disconnection-wrong-object 1057s ok 22 /gobject/signals/clear-signal-handler 1057s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1057s ok 23 /gobject/signals/lookup 1057s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1057s ok 24 /gobject/signals/parse-name 1057s ok 25 /gobject/signals/is-valid-name 1057s ok 26 /gobject/signals/weak-ref-disconnect 1057s # Start of lookup tests 1057s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1057s ok 27 /gobject/signals/lookup/invalid 1057s # End of lookup tests 1057s # Start of parse-name tests 1057s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1057s # Parser input: 1057s # Parser input: 7zip 1057s # Parser input: invalid:signal 1057s # Parser input: simple-detailed:: 1057s # Parser input: simple-detailed: 1057s # Parser input: : 1057s # Parser input: :: 1057s # Parser input: :valid-detail 1057s # Parser input: ::valid-detail 1057s ok 28 /gobject/signals/parse-name/invalid 1057s # End of parse-name tests 1057s # Start of invalid-name tests 1057s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1057s ok 29 /gobject/signals/invalid-name/colon 1057s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1057s ok 30 /gobject/signals/invalid-name/first-char 1057s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1057s ok 31 /gobject/signals/invalid-name/empty 1057s ok - glib/signals.test 1057s # End of invalid-name tests 1057s # End of signals tests 1057s # End of gobject tests 1057s # Running test: glib/spawn-singlethread.test 1057s TAP version 14 1057s # random seed: R02S1723c190b81f89b3b7a5ff6246fd8dac 1057s 1..9 1057s # Start of gthread tests 1057s ok 1 /gthread/spawn-single-sync 1057s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1057s ok 2 /gthread/spawn-stderr-socket 1057s ok 3 /gthread/spawn-single-async 1057s # thread 1 1057s # thread 1 1057s ok 4 /gthread/spawn-single-async-with-fds 1057s ok 5 /gthread/spawn-async-with-invalid-fds 1057s ok 6 /gthread/spawn-script 1057s ok 7 /gthread/spawn-posix-spawn 1057s # Start of spawn tests 1057s ok 8 /gthread/spawn/nonexistent 1057s # FD map: 1057s # • 5 → 15 1057s # • 6 → 16 1057s # • 7 → 17 1057s # • 8 → 18 1057s # • 9 → 19 1057s # • 10 → 20 1057s # • 11 → 21 1057s # • 12 → 22 1057s # • 13 → 23 1057s # • 3 → 13 1057s ok 9 /gthread/spawn/fd-assignment-clash 1057s # End of spawn tests 1057s # End of gthread tests 1057s ok - glib/spawn-singlethread.test 1057s # Running test: glib/base64.test 1057s TAP version 14 1057s # random seed: R02S1e89f8f65b0eb145ee78feb8abd9fe17 1057s 1..28 1057s # Start of base64 tests 1057s ok 1 /base64/encode 1057s ok 2 /base64/decode 1057s ok 3 /base64/decode-inplace 1057s ok 4 /base64/encode-decode 1057s # Start of full tests 1057s ok 5 /base64/full/1 1057s ok 6 /base64/full/2 1057s ok 7 /base64/full/3 1057s ok - glib/base64.test 1057s # Running test: glib/gthash.test 1057s ok - glib/gthash.test 1057s # Running test: glib/cmph-bdz.test 1057s ok - glib/cmph-bdz.test 1057s # Running test: glib/buffered-input-stream.test 1057s ok 8 /base64/full/4 1057s # End of full tests 1057s # Start of encode tests 1057s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1057s ok 9 /base64/encode/empty 1057s # Start of incremental tests 1057s # Start of small-block tests 1057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1057s ok 10 /base64/encode/incremental/small-block/1 1057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1057s ok 11 /base64/encode/incremental/small-block/2 1057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1057s ok 12 /base64/encode/incremental/small-block/3 1057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1057s ok 13 /base64/encode/incremental/small-block/4 1057s # End of small-block tests 1057s # End of incremental tests 1057s # End of encode tests 1057s # Start of incremental tests 1057s # Start of nobreak tests 1057s ok 14 /base64/incremental/nobreak/1 1057s ok 15 /base64/incremental/nobreak/2 1057s ok 16 /base64/incremental/nobreak/3 1057s ok 17 /base64/incremental/nobreak/4-a 1057s ok 18 /base64/incremental/nobreak/4-b 1057s ok 19 /base64/incremental/nobreak/4-c 1057s # End of nobreak tests 1057s # Start of break tests 1057s ok 20 /base64/incremental/break/1 1057s ok 21 /base64/incremental/break/2 1057s ok 22 /base64/incremental/break/3 1057s # End of break tests 1057s # Start of smallblock tests 1057s ok 23 /base64/incremental/smallblock/1 1057s ok 24 /base64/incremental/smallblock/2 1057s ok 25 /base64/incremental/smallblock/3 1057s ok 26 /base64/incremental/smallblock/4 1057s # End of smallblock tests 1057s # End of incremental tests 1057s # Start of decode tests 1057s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1057s ok 27 /base64/decode/empty 1057s # End of decode tests 1057s # Start of encode-decode tests 1057s # Vector 0: 1057s # Vector 1: f 1057s # Vector 2: fo 1057s # Vector 3: foo 1057s # Vector 4: foob 1057s # Vector 5: fooba 1057s # Vector 6: foobar 1057s ok 28 /base64/encode-decode/rfc4648 1057s # End of encode-decode tests 1057s # End of base64 tests 1057s TAP version 14 1057s # random seed: R02S79366ab6c1f29428e4f37a418371d611 1057s 1..1 1057s # Start of gthash tests 1057s ok 1 /gthash/build-retrieve 1057s # End of gthash tests 1057s TAP version 14 1057s # random seed: R02S01e6df5a6bc2312e392449cfb2f3cb0a 1057s 1..2 1057s # Start of cmph-bdz tests 1057s ok 1 /cmph-bdz/search 1057s ok 2 /cmph-bdz/search-packed 1057s # End of cmph-bdz tests 1057s TAP version 14 1057s # random seed: R02S8df0e06eb9207c6f683bb9733378e66c 1057s 1..10 1057s # Start of buffered-input-stream tests 1057s ok 1 /buffered-input-stream/peek 1057s ok 2 /buffered-input-stream/peek-buffer 1057s ok 3 /buffered-input-stream/set-buffer-size 1057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1057s ok 4 /buffered-input-stream/read-byte 1057s ok 5 /buffered-input-stream/read 1057s ok 6 /buffered-input-stream/read-async 1057s ok 7 /buffered-input-stream/skip 1057s ok 8 /buffered-input-stream/skip-async 1057s ok 9 /buffered-input-stream/seek 1057s # End of buffered-input-stream tests 1057s # Start of filter-input-stream tests 1057s ok 10 /filter-input-stream/close 1057s # End of filter-input-stream tests 1057s ok - glib/buffered-input-stream.test 1057s # Running test: glib/inet-address.test 1057s TAP version 14 1057s # random seed: R02S90ced0f31d00b7da8dbc195ab4147b4e 1057s 1..11 1057s # Start of inet-address tests 1057s ok 1 /inet-address/parse 1057s ok 2 /inet-address/any 1057s ok 3 /inet-address/loopback 1057s ok 4 /inet-address/bytes 1057s ok 5 /inet-address/property 1057s # End of inet-address tests 1057s # Start of socket-address tests 1057s ok 6 /socket-address/basic 1057s ok 7 /socket-address/to-string 1057s # End of socket-address tests 1057s # Start of address-mask tests 1057s ok 8 /address-mask/parse 1057s ok 9 /address-mask/property 1057s ok 10 /address-mask/equal 1057s ok 11 /address-mask/match 1057s # End of address-mask tests 1057s ok - glib/inet-address.test 1057s # Running test: glib/atomic-c-11.test 1057s TAP version 14 1057s # random seed: R02S9e41fd8f0ebca1b6a868177f30d0a2ca 1057s 1..2 1057s # Start of atomic tests 1057s ok 1 /atomic/types 1057s ok - glib/atomic-c-11.test 1057s ok 2 /atomic/threaded 1057s # End of atomic tests 1057s # Running test: glib/qdata.test 1057s TAP version 14 1057s # random seed: R02S2edc18a2e6fdc15abc7aac7f2a5cc61c 1057s 1..2 1057s # Start of qdata tests 1057s # Executing: glib/qdata.test 1057s ok 1 /qdata/threaded 1057s ok 2 /qdata/dup 1057s # End of qdata tests 1057s ok - glib/qdata.test 1057s # Running test: glib/portal-support-env-var.test 1057s TAP version 14 1057s # random seed: R02S102f0bf87977bb3739a2f332ab8f5716 1057s 1..1 1057s # Start of portal-support tests 1057s ok 1 /portal-support/env-var 1057s # End of portal-support tests 1057s ok - glib/portal-support-env-var.test 1057s # Running test: glib/queue.test 1057s TAP version 14 1057s # random seed: R02S43f49120c3c92d6c315a95af9ac34c83 1057s 1..12 1057s # Start of queue tests 1057s ok 1 /queue/basic 1057s ok 2 /queue/copy 1057s ok 3 /queue/off-by-one 1057s ok 4 /queue/find-custom 1057s ok 5 /queue/static 1057s ok 6 /queue/clear 1057s ok 7 /queue/free-full 1057s ok 8 /queue/clear-full 1057s ok 9 /queue/insert-sibling-link 1057s ok 10 /queue/push-nth-link 1057s # Start of clear-full tests 1057s ok 11 /queue/clear-full/noop 1057s # End of clear-full tests 1057s # Start of random tests 1057s ok 12 /queue/random/seed:308417272 1057s # End of random tests 1057s # End of queue tests 1057s ok - glib/queue.test 1057s # Running test: glib/gdbus-peer-object-manager.test 1057s TAP version 14 1057s # random seed: R02S1125d732275d92440402a3046366de90 1057s 1..2 1057s # Start of gdbus tests 1057s # Start of peer-object-manager tests 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/normal/.dirs/runtime 1057s ok 1 /gdbus/peer-object-manager/normal 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_1FNV52/gdbus/peer-object-manager/root/.dirs/runtime 1057s ok 2 /gdbus/peer-object-manager/root 1057s # End of peer-object-manager tests 1057s # End of gdbus tests 1057s ok - glib/gdbus-peer-object-manager.test 1057s # Running test: glib/gvariant.test 1057s TAP version 14 1057s # random seed: R02S074264ed51be7554999ae520b20e5d58 1057s 1..69 1057s # Start of gvariant tests 1057s ok 1 /gvariant/type 1058s ok 2 /gvariant/typeinfo 1058s ok 3 /gvariant/string 1058s ok 4 /gvariant/utf8 1058s ok 5 /gvariant/utf8-new-strings 1058s ok 6 /gvariant/containers 1058s ok 7 /gvariant/format-strings 1058s ok 8 /gvariant/invalid-varargs 1058s ok 9 /gvariant/varargs 1058s ok 10 /gvariant/valist 1058s ok 11 /gvariant/builder-memory 1058s ok 12 /gvariant/hashing 1058s ok 13 /gvariant/byteswap 1060s ok 14 /gvariant/parser 1060s # slow test /gvariant/parser executed in 2.07 secs 1060s ok 15 /gvariant/parse-failures 1060s ok 16 /gvariant/parse-positional 1060s ok 17 /gvariant/floating 1060s ok 18 /gvariant/bytestring 1060s ok 19 /gvariant/lookup-value 1060s ok 20 /gvariant/lookup 1060s ok 21 /gvariant/compare 1060s ok 22 /gvariant/equal 1060s ok 23 /gvariant/fixed-array 1060s ok 24 /gvariant/check-format-string 1060s ok 25 /gvariant/checksum-basic 1060s ok 26 /gvariant/checksum-nested 1060s ok 27 /gvariant/gbytes 1060s ok 28 /gvariant/print-context 1060s ok 29 /gvariant/error-quark 1060s ok 30 /gvariant/stack-builder-init 1060s ok 31 /gvariant/stack-builder-init-static 1060s ok 32 /gvariant/stack-builder-init-unset 1060s ok 33 /gvariant/stack-dict-init 1060s ok 34 /gvariant/unaligned-construction 1060s # Start of type tests 1060s # Start of string-scan tests 1060s # Start of recursion tests 1060s ok 35 /gvariant/type/string-scan/recursion/tuple 1060s ok 36 /gvariant/type/string-scan/recursion/array 1060s # End of recursion tests 1060s # End of string-scan tests 1060s # End of type tests 1060s # Start of serialiser tests 1060s ok 37 /gvariant/serialiser/maybe 1061s ok 38 /gvariant/serialiser/array 1061s ok 39 /gvariant/serialiser/tuple 1061s ok 40 /gvariant/serialiser/variant 1061s ok 41 /gvariant/serialiser/strings 1062s # Executing: glib/gvariant.test 1062s ok 42 /gvariant/serialiser/byteswap 1062s # slow test /gvariant/serialiser/byteswap executed in 1.21 secs 1062s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1062s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1062s ok 43 /gvariant/serialiser/children 1062s # Start of byteswap tests 1062s ok 44 /gvariant/serialiser/byteswap/zero-sized 1062s # End of byteswap tests 1062s # Start of fuzz tests 1063s ok 45 /gvariant/serialiser/fuzz/1% 1063s # slow test /gvariant/serialiser/fuzz/1% executed in 0.73 secs 1063s ok 46 /gvariant/serialiser/fuzz/5% 1063s # slow test /gvariant/serialiser/fuzz/5% executed in 0.69 secs 1064s ok 47 /gvariant/serialiser/fuzz/9% 1064s # slow test /gvariant/serialiser/fuzz/9% executed in 0.99 secs 1065s ok 48 /gvariant/serialiser/fuzz/13% 1065s ok 49 /gvariant/serialiser/fuzz/17% 1065s # End of fuzz tests 1065s # End of serialiser tests 1065s # Start of utf8 tests 1065s # Start of subprocess tests 1065s # End of subprocess tests 1065s # End of utf8 tests 1065s # Start of varargs tests 1065s # Start of subprocess tests 1065s # End of subprocess tests 1065s # End of varargs tests 1065s # Start of byteswap tests 1065s # /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. 1065s ok 50 /gvariant/byteswap/non-normal-non-aligned 1065s # End of byteswap tests 1065s # Start of parser tests 1065s ok 51 /gvariant/parser/integer-bounds 1065s ok 52 /gvariant/parser/recursion 1065s # Start of recursion tests 1065s ok 53 /gvariant/parser/recursion/typedecls 1065s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1065s # Text form 0: @mmmu 5 1065s # Text form 1: @mmmas ['hello'] 1065s # Text form 2: @mmmu just just nothing 1065s # Text form 3: @mmmas just just nothing 1065s # Text form 4: @mmmu just nothing 1065s # Text form 5: @mmmas just nothing 1065s # Text form 6: @mmmu nothing 1065s ok - glib/gvariant.test 1065s # Running test: glib/network-monitor-race.test 1065s # Text form 7: @mmmas nothing 1065s ok 54 /gvariant/parser/recursion/maybes 1065s # End of recursion tests 1065s # End of parser tests 1065s # Start of parse tests 1065s # Start of subprocess tests 1065s # End of subprocess tests 1065s # End of parse tests 1065s # Start of normal-checking tests 1065s ok 55 /gvariant/normal-checking/tuples 1065s ok 56 /gvariant/normal-checking/array-offsets 1065s ok 57 /gvariant/normal-checking/array-offsets2 1065s ok 58 /gvariant/normal-checking/tuple-offsets 1065s ok 59 /gvariant/normal-checking/tuple-offsets2 1065s ok 60 /gvariant/normal-checking/tuple-offsets3 1065s ok 61 /gvariant/normal-checking/tuple-offsets4 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1065s ok 62 /gvariant/normal-checking/tuple-offsets5 1065s ok 63 /gvariant/normal-checking/empty-object-path 1065s # Start of array-offsets tests 1065s ok 64 /gvariant/normal-checking/array-offsets/overlapped 1065s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 1065s # End of array-offsets tests 1065s # Start of tuple-offsets tests 1065s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 1065s # End of tuple-offsets tests 1065s # End of normal-checking tests 1065s # Start of recursion-limits tests 1065s ok 67 /gvariant/recursion-limits/variant-in-variant 1065s ok 68 /gvariant/recursion-limits/array-in-variant 1065s # End of recursion-limits tests 1065s # End of gvariant tests 1065s # Start of gvarianttype tests 1065s ok 69 /gvarianttype/hash 1065s # End of gvarianttype tests 1065s TAP version 14 1065s # random seed: R02Sefb3431d3b6064d133c03e5be1253b13 1065s 1..1 1065s # Start of network-monitor tests 1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1067s # Executing: glib/network-monitor-race.test 1067s ok - glib/network-monitor-race.test 1067s # Running test: glib/spawn-test.test 1067s ok 1 /network-monitor/create-in-thread 1067s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1067s # End of network-monitor tests 1067s TAP version 14 1067s # random seed: R02S0f376028f7a7d45451c57f85a8d9bb8b 1067s 1..2 1067s # Start of spawn tests 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_E1QA62/spawn/basics/.dirs/runtime 1067s ok 1 /spawn/basics 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_E1QA62/spawn/stdio-overwrite/.dirs/runtime 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1067s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1067s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1067s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1067s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1067s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1067s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1067s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1067s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1067s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1067s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1067s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1067s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1067s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1067s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1067s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1067s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1067s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1067s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1067s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1067s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1067s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1067s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1067s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1067s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1067s # Fetching GSpawn result with stdin open, stdout open, stderr open 1067s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1067s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1067s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1067s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1067s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1067s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1067s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1067s ok 2 /spawn/stdio-overwrite 1067s # End of spawn tests 1067s TAP version 14 1067s # random seed: R02S67a6a3925e88e0b2bf75a247f2c3b7e4 1067s 1..45 1067s # Start of maincontext tests 1067s ok 1 /maincontext/basic 1067s # Add same-priority sources: 27 1067s ok - glib/spawn-test.test 1067s # Running test: glib/mainloop.test 1067s # Find each source: 8 1067s # Remove in random order: 37 1067s ok 2 /maincontext/nsources_same_priority 1067s # Add different-priority sources: 29 1067s # Find each source: 8 1067s # Remove in random order: 39 1067s ok 3 /maincontext/nsources_different_priority 1068s # Add sources from threads: 277 1068s # Remove sources from threads: 232 1068s ok 4 /maincontext/nsources_threadpool 1068s # slow test /maincontext/nsources_threadpool executed in 0.51 secs 1068s ok 5 /maincontext/source_finalization 1068s # /maincontext/idle-once summary: Test g_idle_add_once() works 1068s ok 6 /maincontext/idle-once 1068s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1068s ok 7 /maincontext/timeout-once 1068s # Start of source_finalization_from_source tests 1068s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 8 /maincontext/source_finalization_from_source/0 1068s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 9 /maincontext/source_finalization_from_source/1 1068s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 10 /maincontext/source_finalization_from_source/2 1068s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 11 /maincontext/source_finalization_from_source/3 1068s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 12 /maincontext/source_finalization_from_source/4 1068s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 13 /maincontext/source_finalization_from_source/5 1068s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 14 /maincontext/source_finalization_from_source/6 1068s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 15 /maincontext/source_finalization_from_source/7 1068s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 16 /maincontext/source_finalization_from_source/8 1068s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1068s ok 17 /maincontext/source_finalization_from_source/9 1068s # End of source_finalization_from_source tests 1068s # Start of source_finalization_from_dispatch tests 1068s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1068s ok 18 /maincontext/source_finalization_from_dispatch/0 1068s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1068s ok 19 /maincontext/source_finalization_from_dispatch/1 1068s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1068s ok 20 /maincontext/source_finalization_from_dispatch/2 1068s # End of source_finalization_from_dispatch tests 1068s # End of maincontext tests 1068s # Start of mainloop tests 1068s ok 21 /mainloop/basic 1068s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1068s ok 23 /mainloop/priorities 1068s ok 24 /mainloop/invoke 1068s # slow test /mainloop/invoke executed in 0.50 secs 1070s ok 25 /mainloop/child_sources 1070s # slow test /mainloop/child_sources executed in 1.18 secs 1072s ok 26 /mainloop/recursive_child_sources 1072s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1072s ok 27 /mainloop/recursive_loop_child_sources 1072s ok 28 /mainloop/swapping_child_sources 1072s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1072s ok 29 /mainloop/blocked_child_sources 1072s # Executing: glib/mainloop.test 1073s ok 30 /mainloop/source_time 1073s # slow test /mainloop/source_time executed in 1.00 secs 1073s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1073s ok 31 /mainloop/overflow 1073s ok 32 /mainloop/ready-time 1073s # slow test /mainloop/ready-time executed in 0.50 secs 1073s ok 33 /mainloop/wakeup 1073s ok 34 /mainloop/remove-invalid 1073s ok 35 /mainloop/unref-while-pending 1075s ok 36 /mainloop/unix-fd 1075s # slow test /mainloop/unix-fd executed in 1.54 secs 1075s ok 37 /mainloop/unix-fd-source 1075s ok 38 /mainloop/source-unix-fd-api 1075s ok 39 /mainloop/wait 1075s ok 40 /mainloop/unix-file-poll 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1075s ok 41 /mainloop/unix-fd-priority 1075s ok 42 /mainloop/nfds 1075s ok 43 /mainloop/steal-fd 1075s # Start of ownerless-polling tests 1075s ok 44 /mainloop/ownerless-polling/attach-first 1075s ok 45 /mainloop/ownerless-polling/pop-first 1075s # End of ownerless-polling tests 1075s # End of mainloop tests 1075s ok - glib/mainloop.test 1075s # Running test: glib/objects-refcount2.test 1075s TAP version 14 1075s # random seed: R02Sa575b1578f969acb0a8e5aec37136d09 1075s 1..1 1075s # Start of gobject tests 1075s # Start of refcount tests 1075s # init 0x1d1db397e400 1075s # 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1075s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # Executing: glib/objects-refcount2.test 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # Executing: glib/objects-refcount2.test 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1083s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1084s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # Executing: glib/objects-refcount2.test 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1088s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1090s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1091s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # Executing: glib/objects-refcount2.test 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1092s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 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 # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # Executing: glib/objects-refcount2.test 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1098s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1099s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1100s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1101s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # Executing: glib/objects-refcount2.test 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1102s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1103s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # Executing: glib/objects-refcount2.test 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1107s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # Executing: glib/objects-refcount2.test 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # . 1112s # dispose 0x1d1db397e400! 1112s # 1112s ok 1 /gobject/refcount/object-advanced 1112s # slow test /gobject/refcount/object-advanced executed in 37.05 secs 1112s # End of refcount tests 1112s # End of gobject tests 1112s ok - glib/objects-refcount2.test 1112s # Running test: glib/performance.test 1117s # Executing: glib/performance.test 1122s # Executing: glib/performance.test 1124s simple-construction: Millions of constructed objects per second: 6.572 1127s simple-construction1: Millions of constructed objects per second: 55.406 1127s # Executing: glib/performance.test 1132s # Executing: glib/performance.test 1133s complex-construction: Millions of constructed objects per second: 3.753 1137s # Executing: glib/performance.test 1141s complex-construction1: Millions of constructed objects per second: 4.612 1142s # Executing: glib/performance.test 1147s # Executing: glib/performance.test 1150s complex-construction2: Millions of constructed objects per second: 5.033 1152s finalization: Millions of finalized objects per second: 0.864 1152s # Executing: glib/performance.test 1154s type-check: Million type checks per second: 14.40 1155s emit-unhandled: Emissions per second: 1194818 1156s emit-unhandled-empty: Emissions per second: 10587733 1157s # Executing: glib/performance.test 1158s emit-unhandled-generic: Emissions per second: 1372408 1159s emit-unhandled-generic-empty: Emissions per second: 10508056 1161s emit-unhandled-args: Emissions per second: 1213926 1162s # Executing: glib/performance.test 1162s emit-handled: Emissions per second: 876788 1163s emit-handled-empty: Emissions per second: 886349 1165s emit-handled-generic: Emissions per second: 907807 1166s emit-handled-generic-empty: Emissions per second: 1337984 1167s # Executing: glib/performance.test 1168s emit-handled-args: Emissions per second: 910405 1169s notify-unhandled: Notify (unhandled) per second: 9188313 1170s notify-by-pspec-unhandled: Notify (unhandled) per second: 45539051 1172s notify-handled: Notify per second: 524119 1172s # Executing: glib/performance.test 1173s notify-by-pspec-handled: Notify per second: 546528 1175s property-set: Property set per second: 6390096 1176s property-set-signaled: Property set per second: 1035818 1177s # Executing: glib/performance.test 1177s property-get: Property get per second: 6738704 1179s refcount: Million refs+unref per second: 6.25 1181s refcount-1: Million refs+unref per second: 14.35 1182s # Executing: glib/performance.test 1182s refcount-toggle: Million refs+unref per second: 8.56 1182s ok - glib/performance.test 1182s # Running test: glib/memory-output-stream.test 1182s TAP version 14 1182s # random seed: R02Sb5d2c6a9241a66aa66e21abde03a87d9 1182s 1..10 1182s # Start of memory-output-stream tests 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1182s ok 1 /memory-output-stream/truncate 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1182s ok 2 /memory-output-stream/get-data-size 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1182s ok - glib/memory-output-stream.test 1182s # Running test: glib/refstring.test 1182s ok 3 /memory-output-stream/properties 1182s ok 4 /memory-output-stream/write-bytes 1182s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1182s ok 5 /memory-output-stream/write-null 1182s ok 6 /memory-output-stream/writev 1182s ok 7 /memory-output-stream/writev_nonblocking 1182s ok 8 /memory-output-stream/steal_as_bytes 1182s # Start of seek tests 1182s ok 9 /memory-output-stream/seek/fixed 1182s ok 10 /memory-output-stream/seek/resizable 1182s # End of seek tests 1182s # End of memory-output-stream tests 1182s TAP version 14 1182s # random seed: R02S3a3c96d2874f2c43412a5d6fd42bc936 1182s 1..8 1182s # Start of refstring tests 1182s # s = 'hello, world' (0x1b816ab283d0) 1182s ok 1 /refstring/base 1182s ok 2 /refstring/length 1182s ok 3 /refstring/length-auto 1182s ok 4 /refstring/length-nuls 1182s # s = 'hello, world' (0x1b816ab28270) 1182s # p = s = 'hello, world' (0x1b816ab28270) 1182s # releasing p[0x1b816ab28270] ('hello, world') 1182s # p = 'goodbye, world' (0x1b816ab283d0) 1182s # releasing p[0x1b816ab283d0] ('goodbye, world') 1182s # releasing s[0x1b816ab28270] ('hello, world') 1182s ok 5 /refstring/intern 1182s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1182s ok 6 /refstring/hash_equal 1182s # /refstring/equal summary: Test g_ref_string_equal() standalone 1182s ok 7 /refstring/equal 1184s ok - glib/refstring.test 1184s ok 8 /refstring/intern-thread-safety 1184s # slow test /refstring/intern-thread-safety executed in 1.87 secs 1184s # End of refstring tests 1184s # Running test: glib/module-test-library.test 1184s TAP version 14 1184s # random seed: R02Sc7172c634fed89b730b476aefbfed339 1184s 1..3 1184s # Start of module tests 1184s ok 1 /module/basics 1184s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1184s ok 2 /module/invalid-libtool-archive 1184s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1184s ok 3 /module/local-binding 1184s # End of module tests 1184s TAP version 14 1184s # random seed: R02Sbc9c1ff9686e9462c2c9425148f81fbe 1184s 1..15 1184s # Start of gmenu tests 1184s ok - glib/module-test-library.test 1184s # Running test: glib/gmenumodel.test 1186s ok 1 /gmenu/equality 1186s # slow test /gmenu/equality executed in 1.83 secs 1187s # Executing: glib/gmenumodel.test 1188s ok 2 /gmenu/random 1188s # slow test /gmenu/random executed in 2.03 secs 1188s ok 3 /gmenu/attributes 1188s ok 4 /gmenu/links 1188s ok 5 /gmenu/mutable 1188s ok 6 /gmenu/convenience 1188s ok 7 /gmenu/menuitem 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1188s ok 8 /gmenu/input-validation 1188s # Start of dbus tests 1189s ok 9 /gmenu/dbus/roundtrip 1189s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1189s ok 10 /gmenu/dbus/subscriptions 1191s ok 11 /gmenu/dbus/threaded 1191s # slow test /gmenu/dbus/threaded executed in 1.47 secs 1191s # Start of peer tests 1192s # Executing: glib/gmenumodel.test 1192s ok 12 /gmenu/dbus/peer/roundtrip 1192s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1192s ok 13 /gmenu/dbus/peer/subscriptions 1192s # End of peer tests 1192s # Start of export tests 1192s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1192s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1192s ok 14 /gmenu/dbus/export/error-handling 1192s # End of export tests 1192s # End of dbus tests 1192s # Start of attributes tests 1192s ok 15 /gmenu/attributes/iterate 1192s # End of attributes tests 1192s # End of gmenu tests 1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1192s ok - glib/gmenumodel.test 1192s # Running test: glib/properties-refcount1.test 1192s TAP version 14 1192s # random seed: R02S4c68c85d3d94267be72fad43bb1c201a 1192s 1..1 1192s # Start of gobject tests 1192s # Start of refcount tests 1192s # .d 1192s # .c 1192s # .f 1192s # .e 1192s # .b 1193s # .d 1193s # .f 1193s # .c 1193s # .b 1193s # .e 1193s # .c 1193s # .d 1193s # .f 1193s # .e 1193s # .b 1193s # .d 1193s # .c 1193s # .f 1193s # .e 1193s # .b 1193s # .c 1193s # .d 1193s # .f 1193s # .e 1193s # .c 1193s # .b 1193s # .f 1193s # .e 1193s # .d 1193s # .c 1193s # .e 1193s # .b 1193s # .f 1193s # .d 1193s # .b 1193s # .e 1193s # .c 1193s # .f 1193s # .d 1193s # .e 1193s # .f 1194s # .b 1194s # .c 1194s # .d 1194s # .e 1194s # .c 1194s # .b 1194s # .f 1194s # .e 1194s # .d 1194s # .c 1194s # .b 1194s # .f 1194s # .e 1194s # .d 1194s # .c 1194s # .b 1194s # .f 1194s # .d 1194s # .e 1194s # .c 1194s # .b 1194s # .f 1194s # .d 1194s # .e 1194s # .c 1194s # .b 1194s # .f 1194s # .d 1194s # .e 1194s # .c 1194s # .b 1194s # .f 1194s # .d 1194s # .e 1194s # .c 1194s # .b 1194s # .f 1195s # .e 1195s # .d 1195s # .c 1195s # .b 1195s # .f 1195s # .d 1195s # .e 1195s # .c 1195s # .b 1195s # .f 1195s # .d 1195s # .c 1195s # .e 1195s # .b 1195s # .f 1195s # .d 1195s # .c 1195s # .f 1195s # .e 1195s # .b 1195s # .d 1195s # .c 1195s # .f 1195s # .b 1195s # .e 1195s # .c 1195s # .d 1195s # .b 1195s # .e 1195s # .f 1195s ok 1 /gobject/refcount/properties-1 1195s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1195s ok - glib/properties-refcount1.test 1195s # End of refcount tests 1195s # End of gobject tests 1195s # Running test: glib/io-stream.test 1195s TAP version 14 1195s # random seed: R02S1df0a97168c04cbdd2f79d69d25d5dfa 1195s 1..3 1195s # Start of io-stream tests 1195s ok 1 /io-stream/copy-chunks 1195s # Start of close tests 1195s # Start of async tests 1195s ok 2 /io-stream/close/async/memory 1195s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1195s ok 3 /io-stream/close/async/file 1195s # End of async tests 1195s # End of close tests 1195s ok - glib/io-stream.test 1195s # Running test: glib/cxx-11.test 1195s ok - glib/cxx-11.test 1195s # Running test: glib/mutex.test 1195s # End of io-stream tests 1195s TAP version 14 1195s # random seed: R02S9b5072fd15dbc90cdc5ec0c632c132f9 1195s 1..2 1195s # Start of gtask tests 1195s # 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. 1195s ok 1 /gtask/name 1195s # Start of name tests 1195s # 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. 1195s ok 2 /gtask/name/macro-wrapper 1195s # End of name tests 1195s # End of gtask tests 1195s TAP version 14 1195s # random seed: R02Sf0545f8612984653bf6ab39e973d3f81 1195s 1..17 1195s # Start of thread tests 1195s ok 1 /thread/mutex1 1195s ok 2 /thread/mutex2 1195s ok 3 /thread/mutex3 1195s ok 4 /thread/mutex4 1197s # Executing: glib/mutex.test 1201s ok 5 /thread/mutex5 1201s # slow test /thread/mutex5 executed in 5.23 secs 1201s # Start of mutex tests 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1201s ok 6 /thread/mutex/errno 1201s # Start of perf tests 1201s # max perf: 1.000000 mips 1201s ok 7 /thread/mutex/perf/uncontended 1201s # Start of contended tests 1201s # max perf: inf mips 1201s ok 8 /thread/mutex/perf/contended/1 1201s # max perf: inf mips 1201s ok 9 /thread/mutex/perf/contended/2 1201s # max perf: 4.000000 mips 1201s ok 10 /thread/mutex/perf/contended/3 1201s # max perf: 0.064103 mips 1201s ok 11 /thread/mutex/perf/contended/4 1201s # max perf: 3.000000 mips 1201s ok 12 /thread/mutex/perf/contended/5 1201s # max perf: 3.500000 mips 1201s ok 13 /thread/mutex/perf/contended/6 1201s # max perf: 2.666667 mips 1201s ok - glib/mutex.test 1201s # Running test: glib/srvtarget.test 1201s ok 14 /thread/mutex/perf/contended/7 1201s # max perf: 3.000000 mips 1201s ok 15 /thread/mutex/perf/contended/8 1201s # max perf: 2.500000 mips 1201s ok 16 /thread/mutex/perf/contended/9 1201s # max perf: 3.666667 mips 1201s ok 17 /thread/mutex/perf/contended/10 1201s # End of contended tests 1201s # End of perf tests 1201s # End of mutex tests 1201s # End of thread tests 1201s TAP version 14 1201s # random seed: R02Sac0dfaf0aa0a21e2c57eb4986ed2c3e2 1201s 1..1 1201s # Start of srvtarget tests 1202s ok 1 /srvtarget/srv-target-ordering 1202s # slow test /srvtarget/srv-target-ordering executed in 0.82 secs 1202s # End of srvtarget tests 1202s ok - glib/srvtarget.test 1202s # Running test: glib/gdbus-connection.test 1202s TAP version 14 1202s # random seed: R02Sded41543c4f691034327a07ce2ec8fab 1202s 1..9 1202s # Start of gdbus tests 1202s # Start of connection tests 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/bus-failure/.dirs/runtime 1202s ok 1 /gdbus/connection/bus-failure 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/basic/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 2 /gdbus/connection/basic 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/life-cycle/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 3 /gdbus/connection/life-cycle 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/send/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 4 /gdbus/connection/send 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/signals/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 5 /gdbus/connection/signals 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/signal-match-rules/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 6 /gdbus/connection/signal-match-rules 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/filter/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 7 /gdbus/connection/filter 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/serials/.dirs/runtime 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # Executing: glib/gdbus-connection.test 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 8 /gdbus/connection/serials 1202s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/home 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/cache 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/system-config2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/config 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/system-data2 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/data 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/state 1202s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_G68652/gdbus/connection/cancel/.dirs/runtime 1202s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1202s ok - glib/gdbus-connection.test 1202s # Running test: glib/environment.test 1202s ok - glib/environment.test 1202s # Running test: glib/node.test 1202s ok - glib/node.test 1202s # Running test: glib/rwlock.test 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s ok 9 /gdbus/connection/cancel 1202s # End of connection tests 1202s # End of gdbus tests 1202s TAP version 14 1202s # random seed: R02Sfce4ebd8500fdc469c7e78fc5c18c5ac 1202s 1..6 1202s # Start of environ tests 1202s # /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. 1202s ok 1 /environ/listenv 1202s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1202s ok 2 /environ/getenv 1202s ok 3 /environ/setenv 1202s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1202s ok 4 /environ/array 1202s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1202s ok 5 /environ/null 1202s # /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. 1202s ok 6 /environ/case 1202s # End of environ tests 1202s TAP version 14 1202s # random seed: R02S0bd269140a0e698761ca44b7221419cd 1202s 1..6 1202s # Start of node tests 1202s ok 1 /node/allocation 1202s ok 2 /node/construction 1202s ok 3 /node/traversal 1202s ok 4 /node/misc 1202s ok 5 /node/unlink 1202s ok 6 /node/copy 1202s # End of node tests 1202s TAP version 14 1202s # random seed: R02Sa8f42156cd1022a301c473659e16c943 1202s 1..8 1202s # Start of thread tests 1202s ok 1 /thread/rwlock1 1202s ok 2 /thread/rwlock2 1202s ok 3 /thread/rwlock3 1202s ok 4 /thread/rwlock4 1202s ok 5 /thread/rwlock5 1202s ok 6 /thread/rwlock6 1207s # Executing: glib/rwlock.test 1209s ok 7 /thread/rwlock7 1209s # slow test /thread/rwlock7 executed in 6.81 secs 1209s ok 8 /thread/rwlock8 1209s # End of thread tests 1209s ok - glib/rwlock.test 1209s # Running test: glib/cxx-14.test 1209s TAP version 14 1209s # random seed: R02Scff2073c7e635af7d890a64bd7d3a705 1209s 1..2 1209s # Start of gtask tests 1209s # 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. 1209s ok 1 /gtask/name 1209s # Start of name tests 1209s # 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. 1209s ok 2 /gtask/name/macro-wrapper 1209s # End of name tests 1209s # End of gtask tests 1209s ok - glib/cxx-14.test 1209s # Running test: glib/init.test 1209s TAP version 14 1209s # random seed: R02S2dd7caf110fc0e538945c1bba45a68f0 1209s 1..2 1209s # Start of thread tests 1209s # Start of deprecated tests 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_K2G952/thread/deprecated/init/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_K2G952/thread/deprecated/init/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_K2G952/thread/deprecated/init/.dirs/runtime 1209s ok 1 /thread/deprecated/init 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_K2G952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1209s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1209s # End of deprecated tests 1209s # End of thread tests 1209s ok - glib/init.test 1209s # Running test: glib/static-link.test 1209s ok # SKIP - glib/static-link.test 1209s # Running test: glib/sequence.test 1209s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1209s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1209s and make sure you have glib build dependencies installed, including 1209s meson. 1209s TAP version 14 1209s # random seed: R02S0b0483f52ad246a333117341f149b426 1209s 1..16 1209s # Start of sequence tests 1209s ok 1 /sequence/out-of-range-jump 1209s ok 2 /sequence/iter-move 1209s ok 3 /sequence/insert-sorted-non-pointer 1209s ok 4 /sequence/stable-sort 1209s ok 5 /sequence/is_empty 1209s # Start of random tests 1210s ok 6 /sequence/random/seed:825541564 1210s # slow test /sequence/random/seed:825541564 executed in 0.71 secs 1210s ok 7 /sequence/random/seed:801678400 1210s # slow test /sequence/random/seed:801678400 executed in 0.68 secs 1211s ok 8 /sequence/random/seed:1477639090 1211s # slow test /sequence/random/seed:1477639090 executed in 0.71 secs 1212s ok 9 /sequence/random/seed:3369132895 1212s # slow test /sequence/random/seed:3369132895 executed in 0.67 secs 1212s # Executing: glib/sequence.test 1213s ok 10 /sequence/random/seed:1192944867 1213s # slow test /sequence/random/seed:1192944867 executed in 0.69 secs 1213s ok 11 /sequence/random/seed:770458294 1213s # slow test /sequence/random/seed:770458294 executed in 0.72 secs 1214s ok 12 /sequence/random/seed:1099575817 1214s # slow test /sequence/random/seed:1099575817 executed in 0.68 secs 1215s ok 13 /sequence/random/seed:590523467 1215s # slow test /sequence/random/seed:590523467 executed in 0.72 secs 1215s ok 14 /sequence/random/seed:3583571454 1215s # slow test /sequence/random/seed:3583571454 executed in 0.71 secs 1216s ok 15 /sequence/random/seed:579241222 1216s # slow test /sequence/random/seed:579241222 executed in 0.71 secs 1217s ok 16 /sequence/random/seed:171441872 1217s # slow test /sequence/random/seed:171441872 executed in 0.68 secs 1217s # End of random tests 1217s # End of sequence tests 1217s ok - glib/sequence.test 1217s # Running test: glib/pollable.test 1217s TAP version 14 1217s # random seed: R02S1bf9d8e46ce4dfcbb07059a807988dd4 1217s 1..6 1217s # Start of pollable tests 1217s ok 1 /pollable/converter 1217s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1217s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x620104aaf0 and GSocketClientAsyncConnectData 0x6201046c10 1217s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1217s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1217s ok - glib/pollable.test 1217s # Running test: glib/mappedfile.test 1217s ok - glib/mappedfile.test 1217s # Running test: glib/signal-handler.test 1217s ok - glib/signal-handler.test 1217s # Running test: glib/macros-c-17.test 1217s ok - glib/macros-c-17.test 1217s # Running test: glib/fileutils.test 1217s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x620104f9f0 for GSocketClientAsyncConnectData 0x6201046c10 1217s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1217s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1217s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1217s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1217s ok 2 /pollable/socket 1217s # Start of unix tests 1217s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1217s ok 3 /pollable/unix/pipe 1217s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1217s ok 4 /pollable/unix/pty 1217s # /pollable/unix/file summary: Test that regular files are not considered pollable 1217s ok 5 /pollable/unix/file 1217s # /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 1217s ok 6 /pollable/unix/nulldev 1217s # End of unix tests 1217s # End of pollable tests 1217s TAP version 14 1217s # random seed: R02S9a6a4a97a3a277fda86f5512a73c727b 1217s 1..7 1217s # Start of mappedfile tests 1217s ok 1 /mappedfile/basic 1217s ok 2 /mappedfile/empty 1217s ok 3 /mappedfile/device 1217s ok 4 /mappedfile/nonexisting 1217s ok 5 /mappedfile/writable 1217s ok 6 /mappedfile/writable_fd 1217s ok 7 /mappedfile/gbytes 1217s # End of mappedfile tests 1217s TAP version 14 1217s # random seed: R02Sa4e0c062cdc56f6ad331e88bc35dc4da 1217s 1..7 1217s # Start of signal tests 1217s # Start of handler tests 1217s # min perf: connected 1 handlers in 0.000 seconds 1217s ok 1 /signal/handler/connect-many 1217s # min perf: disconnected 1 handlers in 0.000 seconds 1217s ok 2 /signal/handler/disconnect-many-ordered 1217s # min perf: disconnected 1 handlers in 0.000 seconds 1217s ok 3 /signal/handler/disconnect-many-inverse 1217s # min perf: disconnected 1 handlers in 0.000 seconds 1217s ok 4 /signal/handler/disconnect-many-random 1217s # min perf: disconnected 1 handlers in 0.000 seconds 1217s ok 5 /signal/handler/disconnect-2-signals 1217s # min perf: disconnected 1 handlers in 0.000 seconds 1217s ok 6 /signal/handler/disconnect-2-objects 1217s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1217s ok 7 /signal/handler/block-many 1217s # End of handler tests 1217s # End of signal tests 1217s TAP version 14 1217s # random seed: R02S7de02fdb5df313281344fc379abaa451 1217s 1..4 1217s # Start of C tests 1217s ok 1 /C/standard-17 1217s # End of C tests 1217s # Start of alignof tests 1217s ok 2 /alignof/fallback 1217s # End of alignof tests 1217s # Start of assert tests 1217s ok 3 /assert/static 1217s # End of assert tests 1217s # Start of struct tests 1217s ok 4 /struct/sizeof_member 1217s # End of struct tests 1217s TAP version 14 1217s # random seed: R02Sfb71a9278b656c5c84d28534691c8793 1217s 1..27 1217s # Start of fileutils tests 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/paths/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/paths/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/paths/.dirs/runtime 1217s ok 1 /fileutils/paths 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/build-path/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/build-path/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/build-path/.dirs/runtime 1217s ok 2 /fileutils/build-path 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/build-pathv/.dirs/runtime 1217s ok 3 /fileutils/build-pathv 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/build-filename/.dirs/runtime 1217s ok 4 /fileutils/build-filename 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/build-filenamev/.dirs/runtime 1217s ok 5 /fileutils/build-filenamev 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents/.dirs/runtime 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Checking g_mkdir_with_parents() in subdir ./hum/ 1217s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1217s ok 6 /fileutils/mkdir-with-parents 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/mkdir-with-parents-permission/.dirs/runtime 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s ok 7 /fileutils/mkdir-with-parents-permission 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/format-size-for-display/.dirs/runtime 1217s ok 8 /fileutils/format-size-for-display 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/errors/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/errors/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/errors/.dirs/runtime 1217s ok 9 /fileutils/errors 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/basename/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/basename/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/basename/.dirs/runtime 1217s ok 10 /fileutils/basename 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/get-basename/.dirs/runtime 1217s ok 11 /fileutils/get-basename 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/dirname/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/dirname/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/dirname/.dirs/runtime 1217s ok 12 /fileutils/dirname 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/dir-make-tmp/.dirs/runtime 1217s ok 13 /fileutils/dir-make-tmp 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/file-open-tmp/.dirs/runtime 1217s ok 14 /fileutils/file-open-tmp 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/file-test/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/file-test/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/file-test/.dirs/runtime 1217s ok 15 /fileutils/file-test 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/mkstemp/.dirs/runtime 1217s ok 16 /fileutils/mkstemp 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/mkdtemp/.dirs/runtime 1217s ok 17 /fileutils/mkdtemp 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/get-contents/.dirs/runtime 1217s ok 18 /fileutils/get-contents 1217s # Executing: glib/fileutils.test 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/get-contents-large-file/.dirs/runtime 1217s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/set-contents/.dirs/runtime 1217s ok 20 /fileutils/set-contents 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/set-contents-full/.dirs/runtime 1217s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1217s # Flags 0 and test 0 1217s # Flags 0 and test 1 1217s # Flags 0 and test 2 1217s # Flags 0 and test 3 1217s # Flags 0 and test 4 1217s # Flags 0 and test 5 1217s # Flags 1 and test 0 1217s # Flags 1 and test 1 1217s # Flags 1 and test 2 1217s # Flags 1 and test 3 1217s # Flags 1 and test 4 1217s # Flags 1 and test 5 1217s # Flags 2 and test 0 1217s # Flags 2 and test 1 1217s # Flags 2 and test 2 1217s # Flags 2 and test 3 1217s # Flags 2 and test 4 1217s # Flags 2 and test 5 1217s # Flags 3 and test 0 1217s # Flags 3 and test 1 1217s # Flags 3 and test 2 1217s # Flags 3 and test 3 1217s # Flags 3 and test 4 1217s # Flags 3 and test 5 1217s # Flags 4 and test 0 1217s # Flags 4 and test 1 1217s # Flags 4 and test 2 1217s # Flags 4 and test 3 1217s # Flags 4 and test 4 1217s # Flags 4 and test 5 1217s # Flags 5 and test 0 1217s # Flags 5 and test 1 1217s # Flags 5 and test 2 1217s # Flags 5 and test 3 1217s # Flags 5 and test 4 1217s # Flags 5 and test 5 1217s # Flags 6 and test 0 1217s # Flags 6 and test 1 1217s # Flags 6 and test 2 1217s # Flags 6 and test 3 1217s # Flags 6 and test 4 1217s # Flags 6 and test 5 1217s ok 21 /fileutils/set-contents-full 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/read-link/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/read-link/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/read-link/.dirs/runtime 1217s ok 22 /fileutils/read-link 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/stdio-wrappers/.dirs/runtime 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s ok 23 /fileutils/stdio-wrappers 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/fopen-modes/.dirs/runtime 1217s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1217s # Testing fopen() mode 'w' 1217s # Testing fopen() mode 'r' 1217s # Testing fopen() mode 'a' 1217s # Testing fopen() mode 'w+' 1217s # Testing fopen() mode 'r+' 1217s # Testing fopen() mode 'a+' 1217s # Testing fopen() mode 'wb' 1217s # Testing fopen() mode 'rb' 1217s # Testing fopen() mode 'ab' 1217s # Testing fopen() mode 'w+b' 1217s # Testing fopen() mode 'r+b' 1217s # Testing fopen() mode 'a+b' 1217s # Testing fopen() mode 'wb+' 1217s # Testing fopen() mode 'rb+' 1217s # Testing fopen() mode 'ab+' 1217s ok 24 /fileutils/fopen-modes 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/clear-fd/.dirs/runtime 1217s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1217s # Will be closed by autocleanup: 3, -42 1217s # Testing error handling 1217s ok 25 /fileutils/clear-fd 1217s # Start of set-contents-full tests 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-file/.dirs/runtime 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1217s ok 26 /fileutils/set-contents-full/read-only-file 1217s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/home 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/cache 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/config 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/data 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/state 1217s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_39D752/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1217s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1217s # Flags 0 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Flags 1 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Flags 2 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Flags 3 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Flags 4 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Flags 5 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s # Flags 6 1217s # We do not have CAP_DAC_OVERRIDE or equivalent 1217s ok 27 /fileutils/set-contents-full/read-only-directory 1217s # End of set-contents-full tests 1217s # Start of clear-fd tests 1217s # Start of subprocess tests 1217s # End of subprocess tests 1217s # End of clear-fd tests 1217s # End of fileutils tests 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-H45A62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-L78A62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-AGNB62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-5ADB62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-59QB62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-PQJB62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752/glib-file-set-contents-full-rodir-U5GB62: Directory not empty 1217s Unable to clean up temporary directory /tmp/test_fileutils_39D752: Directory not empty 1217s ok - glib/fileutils.test 1217s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=268.9s; system=80.2s; maxrss=151552 1217s autopkgtest [01:08:26]: test installed-tests: -----------------------] 1218s autopkgtest [01:08:27]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1218s installed-tests PASS 1219s autopkgtest [01:08:28]: test closure-refcount: preparing testbed 1219s Reading package lists... 1219s Building dependency tree... 1219s Reading state information... 1219s Starting pkgProblemResolver with broken count: 0 1219s Starting 2 pkgProblemResolver with broken count: 0 1219s Done 1219s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1220s autopkgtest [01:08:29]: test closure-refcount: [----------------------- 1220s Running test: glib/closure-refcount.test 1220s TAP version 14 1220s # random seed: R02Sd9981778c481652c3a58e7b45fcb32ff 1220s 1..1 1220s # Start of closure tests 1220s # Init 0x178f1c3d5d10 1220s # Yielding from main thread 1220s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread2 1221s # Yielding from thread1 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread2 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread1 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread2 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread1 1221s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread2 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread1 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread2 1222s # Yielding from main thread 1222s # Yielding from thread1 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread2 1223s # Yielding from main thread 1223s # Yielding from thread1 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from thread2 1223s # Yielding from main thread 1223s # Yielding from thread1 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from thread1 1223s # Yielding from main thread 1223s # Yielding from thread2 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from thread1 1224s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from thread1 1224s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from thread1 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread2 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread1 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread2 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread1 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread2 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1226s # Yielding from thread1 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from thread2 1226s # Stopping 1226s # Stopped 1226s ok 1 /closure/refcount 1226s # slow test /closure/refcount executed in 5.35 secs 1226s # End of closure tests 1226s PASS: glib/closure-refcount.test 1226s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.6s; system=0.0s; maxrss=4096 1226s autopkgtest [01:08:35]: test closure-refcount: -----------------------] 1226s closure-refcount PASS 1226s autopkgtest [01:08:35]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1227s autopkgtest [01:08:36]: test debugcontroller: preparing testbed 1227s Reading package lists... 1227s Building dependency tree... 1227s Reading state information... 1227s Starting pkgProblemResolver with broken count: 0 1227s Starting 2 pkgProblemResolver with broken count: 0 1227s Done 1228s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1228s autopkgtest [01:08:37]: test debugcontroller: [----------------------- 1229s Running test: glib/debugcontroller.test 1229s TAP version 14 1229s # random seed: R02S19343b00d4a387d891b6a44830c2fa99 1229s 1..3 1229s # Start of debug-controller tests 1229s # Start of dbus tests 1229s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1229s # GLib-GIO-DEBUG: Debug output enabled 1229s # GLib-GIO-DEBUG: Debug output disabled 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s ok 1 /debug-controller/dbus/basic 1229s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s ok 2 /debug-controller/dbus/duplicate 1229s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Debug output enabled 1229s # GLib-GIO-DEBUG: Debug output disabled 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1229s ok 3 /debug-controller/dbus/properties 1229s # End of dbus tests 1229s # End of debug-controller tests 1229s PASS: glib/debugcontroller.test 1229s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1229s autopkgtest [01:08:38]: test debugcontroller: -----------------------] 1229s debugcontroller PASS 1229s autopkgtest [01:08:38]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1230s autopkgtest [01:08:39]: test gdbus-server-auth: preparing testbed 1230s Reading package lists... 1230s Building dependency tree... 1230s Reading state information... 1230s Starting pkgProblemResolver with broken count: 0 1230s Starting 2 pkgProblemResolver with broken count: 0 1230s Done 1231s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1231s autopkgtest [01:08:40]: test gdbus-server-auth: [----------------------- 1232s Running test: glib/gdbus-server-auth.test 1232s TAP version 14 1232s # random seed: R02Sdba24455c0cdae040053ed5e08cb8252 1232s 1..9 1232s # Start of gdbus tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/.dirs/runtime 1232s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-G1C352 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1232s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-G1C352/dbus-Hod3SAK5 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15965 1232s ok 1 /gdbus/server-auth 1232s # Start of server-auth tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/abstract/.dirs/runtime 1232s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-7VX352 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1232s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-7VX352/dbus-ku4IQIGV 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15965 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1232s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15965 1232s ok 2 /gdbus/server-auth/abstract 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/tcp/.dirs/runtime 1232s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1232s # Connectable address: tcp:host=127.0.0.1,port=35749 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1232s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1232s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1232s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1232s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1232s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1232s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1233s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1233s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1233s ok 3 /gdbus/server-auth/tcp 1233s # slow test /gdbus/server-auth/tcp executed in 0.91 secs 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/.dirs/runtime 1233s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-967152 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1233s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-967152/dbus-IpNeAjvj 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15965 1233s ok 4 /gdbus/server-auth/anonymous 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/.dirs/runtime 1233s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-M8J252 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1233s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-M8J252/dbus-gEte4YnM 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1233s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15965 1233s ok 5 /gdbus/server-auth/external 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/.dirs/runtime 1233s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-QA2252 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1233s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-QA2252/dbus-yeYMfXhS 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15965 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1233s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15965 1233s ok 6 /gdbus/server-auth/sha1 1233s # Start of anonymous tests 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1233s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1233s # Connectable address: tcp:host=127.0.0.1,port=33531 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1233s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1233s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1233s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1234s ok 7 /gdbus/server-auth/anonymous/tcp 1234s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1234s # End of anonymous tests 1234s # Start of external tests 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/external/require-same-user/.dirs/runtime 1234s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-PVF052 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1234s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TID352/gdbus-server-auth-PVF052/dbus-oOIkbnv5 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15965 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1234s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15965,uid=1000,gid=1000 1234s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15965 1234s ok 8 /gdbus/server-auth/external/require-same-user 1234s # End of external tests 1234s # Start of sha1 tests 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TID352/gdbus/server-auth/sha1/tcp/.dirs/runtime 1234s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1234s # Connectable address: tcp:host=127.0.0.1,port=38677 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1234s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1234s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1234s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1234s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1234s ok 9 /gdbus/server-auth/sha1/tcp 1234s # slow test /gdbus/server-auth/sha1/tcp executed in 0.88 secs 1234s # End of sha1 tests 1234s # End of server-auth tests 1234s # End of gdbus tests 1234s PASS: glib/gdbus-server-auth.test 1234s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 1235s autopkgtest [01:08:44]: test gdbus-server-auth: -----------------------] 1235s gdbus-server-auth PASS 1235s autopkgtest [01:08:44]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1236s autopkgtest [01:08:45]: test gdbus-threading: preparing testbed 1236s Reading package lists... 1236s Building dependency tree... 1236s Reading state information... 1236s Starting pkgProblemResolver with broken count: 0 1236s Starting 2 pkgProblemResolver with broken count: 0 1236s Done 1236s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1237s autopkgtest [01:08:46]: test gdbus-threading: [----------------------- 1237s Running test: glib/gdbus-threading.test 1237s TAP version 14 1237s # random seed: R02S9adefcb8420f6b047fd54c4a939b44fb 1237s 1..3 1237s # Start of gdbus tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_CFWV52/gdbus/delivery-in-thread/.dirs/runtime 1237s ok 1 /gdbus/delivery-in-thread 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_CFWV52/gdbus/method-calls-in-thread/.dirs/runtime 1238s # GLib-GIO-DEBUG: refcount of 0x402467907a0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 1238s ok 2 /gdbus/method-calls-in-thread 1238s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_CFWV52/gdbus/threaded-singleton/.dirs/runtime 1239s # GLib-GIO-DEBUG: refcount of 0x68e980007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x68e980007440 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x68e980006870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x68e980004670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: refcount of 0x68e980006ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s ok 3 /gdbus/threaded-singleton 1240s # slow test /gdbus/threaded-singleton executed in 1.62 secs 1240s # End of gdbus tests 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s PASS: glib/gdbus-threading.test 1240s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.3s; maxrss=8192 1240s autopkgtest [01:08:49]: test gdbus-threading: -----------------------] 1241s gdbus-threading PASS 1241s autopkgtest [01:08:50]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1241s autopkgtest [01:08:50]: test gmenumodel: preparing testbed 1241s Reading package lists... 1241s Building dependency tree... 1241s Reading state information... 1242s Starting pkgProblemResolver with broken count: 0 1242s Starting 2 pkgProblemResolver with broken count: 0 1242s Done 1242s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1243s autopkgtest [01:08:52]: test gmenumodel: [----------------------- 1243s Running test: glib/gmenumodel.test 1243s TAP version 14 1243s # random seed: R02Sbc9cc122c9df7e8725fca5d0d93ac0e6 1243s 1..15 1243s # Start of gmenu tests 1245s ok 1 /gmenu/equality 1245s # slow test /gmenu/equality executed in 1.87 secs 1247s ok 2 /gmenu/random 1247s # slow test /gmenu/random executed in 2.23 secs 1247s ok 3 /gmenu/attributes 1247s ok 4 /gmenu/links 1247s ok 5 /gmenu/mutable 1247s ok 6 /gmenu/convenience 1247s ok 7 /gmenu/menuitem 1247s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1247s ok 8 /gmenu/input-validation 1247s # Start of dbus tests 1248s Executing: glib/gmenumodel.test 1248s ok 9 /gmenu/dbus/roundtrip 1248s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1248s ok 10 /gmenu/dbus/subscriptions 1250s ok 11 /gmenu/dbus/threaded 1250s # slow test /gmenu/dbus/threaded executed in 1.43 secs 1250s # Start of peer tests 1251s ok 12 /gmenu/dbus/peer/roundtrip 1251s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1251s ok 13 /gmenu/dbus/peer/subscriptions 1251s # End of peer tests 1251s # Start of export tests 1251s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1251s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1251s ok 14 /gmenu/dbus/export/error-handling 1251s # End of export tests 1251s # End of dbus tests 1251s # Start of attributes tests 1251s ok 15 /gmenu/attributes/iterate 1251s # End of attributes tests 1251s # End of gmenu tests 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s PASS: glib/gmenumodel.test 1251s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.9s; system=0.2s; maxrss=34816 1252s autopkgtest [01:09:01]: test gmenumodel: -----------------------] 1252s gmenumodel PASS 1252s autopkgtest [01:09:01]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1252s autopkgtest [01:09:01]: test mainloop: preparing testbed 1253s Reading package lists... 1253s Building dependency tree... 1253s Reading state information... 1253s Starting pkgProblemResolver with broken count: 0 1253s Starting 2 pkgProblemResolver with broken count: 0 1253s Done 1253s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1254s autopkgtest [01:09:03]: test mainloop: [----------------------- 1254s Running test: glib/mainloop.test 1254s TAP version 14 1254s # random seed: R02Sb89a0eccb2f70d91c2b1360d18ac5e99 1254s 1..45 1254s # Start of maincontext tests 1254s ok 1 /maincontext/basic 1254s # Add same-priority sources: 36 1254s # Find each source: 8 1254s # Remove in random order: 47 1254s ok 2 /maincontext/nsources_same_priority 1254s # Add different-priority sources: 29 1254s # Find each source: 10 1255s # Remove in random order: 43 1255s ok 3 /maincontext/nsources_different_priority 1255s # Add sources from threads: 251 1255s # Remove sources from threads: 249 1255s ok 4 /maincontext/nsources_threadpool 1255s # slow test /maincontext/nsources_threadpool executed in 0.51 secs 1255s ok 5 /maincontext/source_finalization 1255s # /maincontext/idle-once summary: Test g_idle_add_once() works 1255s ok 6 /maincontext/idle-once 1255s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1255s ok 7 /maincontext/timeout-once 1255s # Start of source_finalization_from_source tests 1255s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 8 /maincontext/source_finalization_from_source/0 1255s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 9 /maincontext/source_finalization_from_source/1 1255s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 10 /maincontext/source_finalization_from_source/2 1255s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 11 /maincontext/source_finalization_from_source/3 1255s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 12 /maincontext/source_finalization_from_source/4 1255s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 13 /maincontext/source_finalization_from_source/5 1255s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 14 /maincontext/source_finalization_from_source/6 1255s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 15 /maincontext/source_finalization_from_source/7 1255s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 16 /maincontext/source_finalization_from_source/8 1255s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1255s ok 17 /maincontext/source_finalization_from_source/9 1255s # End of source_finalization_from_source tests 1255s # Start of source_finalization_from_dispatch tests 1255s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1255s ok 18 /maincontext/source_finalization_from_dispatch/0 1255s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1255s ok 19 /maincontext/source_finalization_from_dispatch/1 1255s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1255s ok 20 /maincontext/source_finalization_from_dispatch/2 1255s # End of source_finalization_from_dispatch tests 1255s # End of maincontext tests 1255s # Start of mainloop tests 1255s ok 21 /mainloop/basic 1255s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1255s ok 23 /mainloop/priorities 1256s ok 24 /mainloop/invoke 1256s # slow test /mainloop/invoke executed in 0.50 secs 1257s ok 25 /mainloop/child_sources 1257s # slow test /mainloop/child_sources executed in 1.18 secs 1259s ok 26 /mainloop/recursive_child_sources 1259s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1259s ok 27 /mainloop/recursive_loop_child_sources 1259s ok 28 /mainloop/swapping_child_sources 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1259s ok 29 /mainloop/blocked_child_sources 1260s Executing: glib/mainloop.test 1260s ok 30 /mainloop/source_time 1260s # slow test /mainloop/source_time executed in 1.00 secs 1260s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1260s ok 31 /mainloop/overflow 1261s ok 32 /mainloop/ready-time 1261s # slow test /mainloop/ready-time executed in 0.50 secs 1261s ok 33 /mainloop/wakeup 1261s ok 34 /mainloop/remove-invalid 1261s ok 35 /mainloop/unref-while-pending 1262s ok 36 /mainloop/unix-fd 1262s # slow test /mainloop/unix-fd executed in 1.59 secs 1262s ok 37 /mainloop/unix-fd-source 1262s ok 38 /mainloop/source-unix-fd-api 1262s ok 39 /mainloop/wait 1262s ok 40 /mainloop/unix-file-poll 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1262s ok 41 /mainloop/unix-fd-priority 1262s ok 42 /mainloop/nfds 1262s ok 43 /mainloop/steal-fd 1262s # Start of ownerless-polling tests 1262s ok 44 /mainloop/ownerless-polling/attach-first 1262s ok 45 /mainloop/ownerless-polling/pop-first 1262s # End of ownerless-polling tests 1262s # End of mainloop tests 1262s PASS: glib/mainloop.test 1262s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.3s; system=1.7s; maxrss=16384 1263s autopkgtest [01:09:12]: test mainloop: -----------------------] 1263s autopkgtest [01:09:12]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1263s mainloop PASS 1264s autopkgtest [01:09:13]: test memory-monitor-dbus: preparing testbed 1264s Reading package lists... 1264s Building dependency tree... 1264s Reading state information... 1264s Starting pkgProblemResolver with broken count: 0 1264s Starting 2 pkgProblemResolver with broken count: 0 1264s Done 1264s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1265s autopkgtest [01:09:14]: test memory-monitor-dbus: [----------------------- 1265s Running test: glib/memory-monitor-dbus.test 1266s TAP version 13 1266s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1266s # Received memory warning signal, level 1266s # Received memory warning signal, level 1266s # Received memory warning signal, level 1266s 1..1 1266s PASS: glib/memory-monitor-dbus.test 1266s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=36864 1266s autopkgtest [01:09:15]: test memory-monitor-dbus: -----------------------] 1266s memory-monitor-dbus PASS 1266s autopkgtest [01:09:15]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1267s autopkgtest [01:09:16]: test socket: preparing testbed 1267s Reading package lists... 1267s Building dependency tree... 1267s Reading state information... 1267s Starting pkgProblemResolver with broken count: 0 1267s Starting 2 pkgProblemResolver with broken count: 0 1267s Done 1268s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1268s autopkgtest [01:09:17]: test socket: [----------------------- 1268s Running test: glib/socket.test 1268s TAP version 14 1268s # random seed: R02S05ee84d17f58da18ce98cba1786be919 1268s 1..28 1268s # Start of socket tests 1269s ok 1 /socket/ipv4_sync 1269s # slow test /socket/ipv4_sync executed in 1.00 secs 1270s ok 2 /socket/ipv4_async 1270s # slow test /socket/ipv4_async executed in 1.00 secs 1270s ok 3 /socket/ipv6_sync 1270s ok 4 /socket/ipv6_async 1270s ok 5 /socket/ipv6_v4mapped 1271s ok 6 /socket/close_graceful 1271s # slow test /socket/close_graceful executed in 1.00 secs 1271s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1271s ok 8 /socket/fd_reuse 1271s ok 9 /socket/address 1271s ok 10 /socket/unix-from-fd 1271s ok 11 /socket/unix-connection 1271s ok 12 /socket/unix-connection-ancillary-data 1271s ok 13 /socket/source-postmortem 1271s ok 14 /socket/read_write 1271s ok 15 /socket/read_writev 1271s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1271s ok 16 /socket/receive_bytes 1271s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1271s ok 17 /socket/receive_bytes_from 1271s # Start of ipv4_sync tests 1271s ok 18 /socket/ipv4_sync/datagram 1271s # Start of datagram tests 1273s ok 19 /socket/ipv4_sync/datagram/timeouts 1273s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1273s # End of datagram tests 1273s # End of ipv4_sync tests 1273s # Start of ipv6_sync tests 1273s ok 20 /socket/ipv6_sync/datagram 1273s # Start of datagram tests 1274s ok 21 /socket/ipv6_sync/datagram/timeouts 1274s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1274s # End of datagram tests 1274s # End of ipv6_sync tests 1274s # Start of reuse tests 1274s ok 22 /socket/reuse/tcp 1274s ok 23 /socket/reuse/udp 1274s # End of reuse tests 1274s # Start of get_available tests 1274s Executing: glib/socket.test 1274s ok 24 /socket/get_available/datagram 1274s ok 25 /socket/get_available/stream 1274s # End of get_available tests 1274s # Start of credentials tests 1274s # Supported on this OS: GCredentials:linux-ucred:pid=0 1274s ok 26 /socket/credentials/tcp_client 1274s # Supported on this OS: GCredentials:linux-ucred:pid=0 1274s ok 27 /socket/credentials/tcp_server 1274s # Supported on this OS: GCredentials:linux-ucred:pid=17844,uid=1000,gid=1000 1274s ok 28 /socket/credentials/unix_socketpair 1274s # End of credentials tests 1274s # End of socket tests 1274s PASS: glib/socket.test 1274s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1274s autopkgtest [01:09:23]: test socket: -----------------------] 1275s autopkgtest [01:09:24]: test socket: - - - - - - - - - - results - - - - - - - - - - 1275s socket PASS 1275s autopkgtest [01:09:24]: test testfilemonitor: preparing testbed 1275s Reading package lists... 1275s Building dependency tree... 1275s Reading state information... 1275s Starting pkgProblemResolver with broken count: 0 1275s Starting 2 pkgProblemResolver with broken count: 0 1275s Done 1276s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1276s autopkgtest [01:09:25]: test testfilemonitor: [----------------------- 1277s Running test: glib/testfilemonitor.test 1277s TAP version 14 1277s # random seed: R02S84cb3575e81d0b529cefd79d8ab356b5 1277s 1..8 1277s # Start of monitor tests 1277s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1277s # Using temporary directory: /tmp/gio-test-testfilemonitor_38Y352 1277s # Using GFileMonitor GInotifyFileMonitor 1279s ok 1 /monitor/atomic-replace 1279s # slow test /monitor/atomic-replace executed in 2.00 secs 1279s # Using temporary directory: /tmp/gio-test-testfilemonitor_VC3352 1279s # Using GFileMonitor GInotifyFileMonitor 1281s ok 2 /monitor/file-changes 1281s # slow test /monitor/file-changes executed in 2.50 secs 1281s # Using temporary directory: /tmp/gio-test-testfilemonitor_9PES52 1281s # Using GFileMonitor GInotifyFileMonitor 1282s Executing: glib/testfilemonitor.test 1285s ok 3 /monitor/dir-monitor 1285s # slow test /monitor/dir-monitor executed in 3.50 secs 1285s # Using temporary directory: /tmp/gio-test-testfilemonitor_488352 1285s # Using GFileMonitor GInotifyFileMonitor 1287s Executing: glib/testfilemonitor.test 1292s Executing: glib/testfilemonitor.test 1297s Executing: glib/testfilemonitor.test 1302s Executing: glib/testfilemonitor.test 1307s Executing: glib/testfilemonitor.test 1310s ok 4 /monitor/dir-not-existent 1310s # slow test /monitor/dir-not-existent executed in 25.02 secs 1310s # Using temporary directory: /tmp/gio-test-testfilemonitor_FST452 1310s # Using GFileMonitor 0 GInotifyFileMonitor 1310s # Using GFileMonitor 1 GInotifyFileMonitor 1312s ok 5 /monitor/cross-dir-moves 1312s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1312s # Using temporary directory: /tmp/gio-test-testfilemonitor_VFR452 1312s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1312s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1312s ok 6 /monitor/finalize-in-callback 1312s # Using temporary directory: /tmp/gio-test-testfilemonitor_JXZ452 1312s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1312s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1312s ok 7 /monitor/root 1312s # Start of file tests 1312s # Using temporary directory: /tmp/gio-test-testfilemonitor_6PZ452 1312s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1312s # Running with hard link tests 1312s # Using GFileMonitor GInotifyFileMonitor 1312s Executing: glib/testfilemonitor.test 1315s # Event 0 at expected index 7 skipped because it is marked as optional 1315s # Event 2 at expected index 11 skipped because it is marked as optional 1315s ok 8 /monitor/file/hard-links 1315s # slow test /monitor/file/hard-links executed in 3.50 secs 1315s # End of file tests 1315s # End of monitor tests 1315s PASS: glib/testfilemonitor.test 1315s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1316s autopkgtest [01:10:05]: test testfilemonitor: -----------------------] 1316s testfilemonitor PASS 1316s autopkgtest [01:10:05]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1316s autopkgtest [01:10:05]: test thread-pool-slow: preparing testbed 1317s Reading package lists... 1317s Building dependency tree... 1317s Reading state information... 1317s Starting pkgProblemResolver with broken count: 0 1317s Starting 2 pkgProblemResolver with broken count: 0 1317s Done 1317s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1318s autopkgtest [01:10:07]: test thread-pool-slow: [----------------------- 1318s Running test: glib/thread-pool-slow.test 1318s TAP version 14 1318s # random seed: R02Sfad6f128481986935577f48eaf7030fd 1318s 1..7 1318s # Start of threadpool tests 1318s ok 1 /threadpool/functions 1319s ok 2 /threadpool/stop-unused 1319s # slow test /threadpool/stop-unused executed in 0.51 secs 1319s ok 3 /threadpool/pools 1319s # [unsorted] ===> pushed new thread with id:83, number of threads:1, unprocessed:1 1319s # [unsorted] ===> pushed new thread with id:58, number of threads:2, unprocessed:1 1319s # [unsorted] ===> pushed new thread with id:3, number of threads:3, unprocessed:1 1319s # [unsorted] ===> pushed new thread with id:42, number of threads:4, unprocessed:2 1319s # [unsorted] ===> pushed new thread with id:62, number of threads:5, unprocessed:3 1319s # [unsorted] ===> pushed new thread with id:34, number of threads:6, unprocessed:4 1319s # [unsorted] ===> pushed new thread with id:67, number of threads:7, unprocessed:5 1319s # [unsorted] ===> pushed new thread with id:41, number of threads:8, unprocessed:5 1319s # [unsorted] ===> pushed new thread with id:77, number of threads:9, unprocessed:4 1319s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:5 1319s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:6 1319s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:7 1319s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:8 1319s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:9 1319s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:10 1319s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:11 1319s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:12 1319s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:13 1319s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:14 1319s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:14 1319s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:14 1319s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:14 1319s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:14 1319s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:14 1319s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:15 1319s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 1319s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:17 1319s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:18 1319s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:19 1319s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:20 1319s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:21 1319s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:22 1319s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:23 1319s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:24 1319s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:25 1319s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:26 1319s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:27 1319s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:28 1319s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:29 1319s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:30 1319s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:31 1319s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:32 1319s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:33 1319s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:34 1319s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:35 1319s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:36 1319s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:37 1319s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:38 1319s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:39 1319s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:40 1319s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:41 1319s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:42 1319s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:43 1319s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:44 1319s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:45 1319s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:46 1319s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:47 1319s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:48 1319s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:49 1319s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:50 1319s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:51 1319s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:52 1319s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:53 1319s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:54 1319s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:55 1319s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:56 1319s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:57 1319s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:58 1319s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:59 1319s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:60 1319s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:61 1319s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:62 1319s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:63 1319s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:64 1319s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:65 1319s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:66 1319s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:67 1319s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:68 1319s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:69 1319s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:70 1319s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:71 1319s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:72 1319s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:73 1319s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:74 1319s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:75 1319s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:76 1319s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:77 1319s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:78 1319s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:79 1319s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:80 1319s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:81 1319s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:82 1319s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:83 1319s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:84 1319s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:85 1319s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:86 1319s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:87 1319s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:88 1319s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:89 1319s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:90 1319s ok 4 /threadpool/no-sort 1319s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:1 1319s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:2 1319s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:3 1319s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:4 1319s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:5 1319s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:6 1319s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:7 1319s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:8 1319s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:9 1319s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:10 1319s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:11 1319s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:12 1319s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:13 1319s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:14 1319s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:15 1319s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:16 1319s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:17 1319s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:18 1319s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:19 1319s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:20 1319s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:21 1319s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:22 1319s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:23 1319s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:24 1319s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:25 1319s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:26 1319s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:27 1319s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:28 1319s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:29 1319s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:30 1319s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:31 1319s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:32 1319s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:33 1319s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:34 1319s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:35 1319s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:36 1319s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:37 1319s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:38 1319s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:39 1319s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:40 1319s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:41 1319s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:42 1319s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:43 1319s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:44 1319s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:45 1319s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:46 1319s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:47 1319s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:48 1319s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:49 1319s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:50 1319s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:51 1319s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:52 1319s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:53 1319s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:54 1319s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:55 1319s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:56 1319s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:57 1319s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:58 1319s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:59 1319s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:60 1319s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:61 1319s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:62 1319s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:63 1319s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:64 1319s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:65 1319s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:66 1319s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:67 1319s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:68 1319s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:69 1319s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:70 1319s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:71 1319s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:72 1319s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:73 1319s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:74 1319s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:75 1319s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:76 1319s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:77 1319s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:78 1319s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:79 1319s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:80 1319s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:81 1319s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:82 1319s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:83 1319s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:84 1319s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:85 1319s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:86 1319s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:87 1319s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:88 1319s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:89 1319s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:90 1319s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:91 1319s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:92 1319s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:93 1319s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:94 1319s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:95 1319s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:96 1319s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:97 1319s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:98 1319s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:99 1319s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:100 1319s # Starting thread pool processing 1319s ok 5 /threadpool/sort 1319s ok 6 /threadpool/stop-unused-multiple 1319s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1319s # Pool idle thread count: 0, unprocessed jobs: 40 1320s # Pool idle thread count: 0, unprocessed jobs: 0 1320s # Pool idle thread count: 0, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1324s Executing: glib/thread-pool-slow.test 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # 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 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 # 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 1328s # Pool idle thread count: 10, unprocessed jobs: 0 1328s # Pool idle thread count: 10, unprocessed jobs: 2 1328s # Pool idle thread count: 10, unprocessed jobs: 2 1328s # Pool idle thread count: 8, unprocessed jobs: 0 1328s # Pool idle thread count: 8, unprocessed jobs: 0 1329s Executing: glib/thread-pool-slow.test 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: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1334s Executing: glib/thread-pool-slow.test 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, 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 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 Executing: glib/thread-pool-slow.test 1339s ok 7 /threadpool/idle-time 1339s # slow test /threadpool/idle-time executed in 19.52 secs 1339s # End of threadpool tests 1339s PASS: glib/thread-pool-slow.test 1339s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=12288 1339s autopkgtest [01:10:28]: test thread-pool-slow: -----------------------] 1340s thread-pool-slow PASS 1340s autopkgtest [01:10:29]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1340s autopkgtest [01:10:29]: test threadtests: preparing testbed 1340s Reading package lists... 1340s Building dependency tree... 1340s Reading state information... 1341s Starting pkgProblemResolver with broken count: 0 1341s Starting 2 pkgProblemResolver with broken count: 0 1341s Done 1341s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1342s autopkgtest [01:10:31]: test threadtests: [----------------------- 1342s Running test: glib/threadtests.test 1342s TAP version 14 1342s # random seed: R02Sf20dbcb09a6ade58f5197a53a1c41efc 1342s 1..5 1342s # Start of GObject tests 1342s ok 1 /GObject/threaded-object-init 1343s ok 2 /GObject/threaded-weak-ref 1343s # slow test /GObject/threaded-weak-ref executed in 0.96 secs 1343s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1343s # /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 1343s ok 3 /GObject/threaded-toggle-notify 1343s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1343s # Start of threaded-weak-ref tests 1343s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1343s # /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. 1343s ok 5 /GObject/threaded-weak-ref/on-finalization 1343s # End of threaded-weak-ref tests 1343s # End of GObject tests 1343s PASS: glib/threadtests.test 1343s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.2s; system=0.5s; maxrss=4096 1344s autopkgtest [01:10:33]: test threadtests: -----------------------] 1344s threadtests PASS 1344s autopkgtest [01:10:33]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1345s autopkgtest [01:10:34]: test timeout: preparing testbed 1345s Reading package lists... 1345s Building dependency tree... 1345s Reading state information... 1345s Starting pkgProblemResolver with broken count: 0 1345s Starting 2 pkgProblemResolver with broken count: 0 1345s Done 1345s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1346s autopkgtest [01:10:35]: test timeout: [----------------------- 1346s Running test: glib/timeout.test 1346s TAP version 14 1346s # random seed: R02Sfda957a277bd1c0a75a9b1fb57e424da 1346s 1..5 1346s # Start of timeout tests 1346s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1348s ok 1 /timeout/seconds 1348s # slow test /timeout/seconds executed in 2.10 secs 1350s ok 2 /timeout/seconds-once 1350s # slow test /timeout/seconds-once executed in 2.10 secs 1350s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1352s Executing: glib/timeout.test 1353s ok 3 /timeout/weeks-overflow 1353s # slow test /timeout/weeks-overflow executed in 2.10 secs 1353s ok 4 /timeout/far-future-ready-time 1357s Executing: glib/timeout.test 1362s Executing: glib/timeout.test 1363s ok 5 /timeout/rounding 1363s # slow test /timeout/rounding executed in 10.26 secs 1363s # End of timeout tests 1363s PASS: glib/timeout.test 1363s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1363s autopkgtest [01:10:52]: test timeout: -----------------------] 1364s timeout PASS 1364s autopkgtest [01:10:53]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1364s autopkgtest [01:10:53]: test timer: preparing testbed 1364s Reading package lists... 1364s Building dependency tree... 1364s Reading state information... 1364s Starting pkgProblemResolver with broken count: 0 1365s Starting 2 pkgProblemResolver with broken count: 0 1365s Done 1365s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1366s autopkgtest [01:10:55]: test timer: [----------------------- 1366s Running test: glib/timer.test 1366s TAP version 14 1366s # random seed: R02Sca959cf223d244c8d126a5787f5a2243 1366s 1..10 1366s # Start of timer tests 1366s ok 1 /timer/basic 1366s ok 2 /timer/stop 1366s ok 3 /timer/continue 1366s ok 4 /timer/reset 1366s ok 5 /timer/is_active 1366s # End of timer tests 1366s # Start of timeval tests 1366s ok 6 /timeval/add 1366s ok 7 /timeval/from-iso8601 1366s ok 8 /timeval/to-iso8601 1366s # Start of to-iso8601 tests 1366s ok 9 /timeval/to-iso8601/overflow 1366s # End of to-iso8601 tests 1366s # End of timeval tests 1366s # Start of usleep tests 1366s ok 10 /usleep/with-zero-wait 1366s # End of usleep tests 1366s PASS: glib/timer.test 1366s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1366s autopkgtest [01:10:55]: test timer: -----------------------] 1366s timer PASS 1366s autopkgtest [01:10:55]: test timer: - - - - - - - - - - results - - - - - - - - - - 1367s autopkgtest [01:10:56]: test 1065022-futureproofing: preparing testbed 1495s autopkgtest [01:13:04]: testbed dpkg architecture: ppc64el 1495s autopkgtest [01:13:04]: testbed apt version: 3.0.0 1496s autopkgtest [01:13:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1496s autopkgtest [01:13:05]: testbed release detected to be: questing 1497s autopkgtest [01:13:06]: updating testbed package index (apt update) 1497s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 1497s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 1497s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 1497s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 1498s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [98.1 kB] 1498s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1031 kB] 1498s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [31.7 kB] 1498s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [133 kB] 1498s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [975 kB] 1498s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [18.6 kB] 1498s Fetched 2397 kB in 2s (1594 kB/s) 1499s Reading package lists... 1500s autopkgtest [01:13:09]: upgrading testbed (apt dist-upgrade and autopurge) 1500s Reading package lists... 1500s Building dependency tree... 1500s Reading state information... 1501s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1501s Starting 2 pkgProblemResolver with broken count: 0 1501s Done 1501s Entering ResolveByKeep 1501s 1501s Calculating upgrade... 1502s The following packages will be upgraded: 1502s base-passwd btrfs-progs ethtool hwdata less libbpf1 libdebuginfod-common 1502s libdebuginfod1t64 libdw1t64 libelf1t64 libevdev2 libmm-glib0 libnghttp2-14 1502s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libselinux1 1502s libunistring5 libusb-1.0-0 man-db netcat-openbsd patch pnp.ids publicsuffix 1502s tzdata usbutils 1502s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1502s Need to get 11.3 MB of archives. 1502s After this operation, 145 kB of additional disk space will be used. 1502s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libselinux1 ppc64el 3.8.1-1 [110 kB] 1502s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el base-passwd ppc64el 3.6.7 [55.8 kB] 1502s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod-common all 0.193-1 [15.6 kB] 1502s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el less ppc64el 668-1 [206 kB] 1502s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdebuginfod1t64 ppc64el 0.193-1 [24.1 kB] 1502s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libdw1t64 ppc64el 0.193-1 [318 kB] 1502s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el libelf1t64 ppc64el 0.193-1 [67.9 kB] 1502s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libbpf1 ppc64el 1:1.5.0-3 [231 kB] 1502s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libunistring5 ppc64el 1.3-2 [627 kB] 1502s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el netcat-openbsd ppc64el 1.229-1 [45.5 kB] 1502s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el tzdata all 2025b-3ubuntu1 [198 kB] 1502s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ethtool ppc64el 1:6.14-2 [294 kB] 1502s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libevdev2 ppc64el 1.13.4+dfsg-1 [38.0 kB] 1502s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libnghttp2-14 ppc64el 1.64.0-1.1 [89.7 kB] 1502s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libusb-1.0-0 ppc64el 2:1.0.28-1 [64.4 kB] 1502s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el man-db ppc64el 2.13.1-1 [1409 kB] 1502s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el publicsuffix all 20250328.1952-0.1 [135 kB] 1502s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el usbutils ppc64el 1:018-2 [90.0 kB] 1502s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el btrfs-progs ppc64el 6.14-1 [1373 kB] 1502s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el hwdata all 0.394-1 [1564 B] 1502s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el pnp.ids all 0.394-1 [29.5 kB] 1502s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libmm-glib0 ppc64el 1.24.0-1 [290 kB] 1502s Get:23 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 1502s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 1502s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 1502s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el patch ppc64el 2.8-1 [110 kB] 1503s Preconfiguring packages ... 1503s Fetched 11.3 MB in 1s (11.9 MB/s) 1503s (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 ... 107204 files and directories currently installed.) 1503s Preparing to unpack .../libselinux1_3.8.1-1_ppc64el.deb ... 1503s Unpacking libselinux1:ppc64el (3.8.1-1) over (3.7-3ubuntu3) ... 1503s Setting up libselinux1:ppc64el (3.8.1-1) ... 1503s (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 ... 107204 files and directories currently installed.) 1503s Preparing to unpack .../base-passwd_3.6.7_ppc64el.deb ... 1503s Unpacking base-passwd (3.6.7) over (3.6.6) ... 1503s Setting up base-passwd (3.6.7) ... 1504s (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 ... 107204 files and directories currently installed.) 1504s Preparing to unpack .../00-libdebuginfod-common_0.193-1_all.deb ... 1504s Unpacking libdebuginfod-common (0.193-1) over (0.192-4ubuntu1) ... 1504s Preparing to unpack .../01-less_668-1_ppc64el.deb ... 1504s Unpacking less (668-1) over (643-1) ... 1504s Preparing to unpack .../02-libdebuginfod1t64_0.193-1_ppc64el.deb ... 1504s Unpacking libdebuginfod1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 1504s Preparing to unpack .../03-libdw1t64_0.193-1_ppc64el.deb ... 1504s Unpacking libdw1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 1504s Preparing to unpack .../04-libelf1t64_0.193-1_ppc64el.deb ... 1504s Unpacking libelf1t64:ppc64el (0.193-1) over (0.192-4ubuntu1) ... 1504s Preparing to unpack .../05-libbpf1_1%3a1.5.0-3_ppc64el.deb ... 1504s Unpacking libbpf1:ppc64el (1:1.5.0-3) over (1:1.5.0-2) ... 1504s Preparing to unpack .../06-libunistring5_1.3-2_ppc64el.deb ... 1504s Unpacking libunistring5:ppc64el (1.3-2) over (1.3-1) ... 1504s Preparing to unpack .../07-netcat-openbsd_1.229-1_ppc64el.deb ... 1504s Unpacking netcat-openbsd (1.229-1) over (1.228-1) ... 1504s Preparing to unpack .../08-tzdata_2025b-3ubuntu1_all.deb ... 1504s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 1504s Preparing to unpack .../09-ethtool_1%3a6.14-2_ppc64el.deb ... 1504s Unpacking ethtool (1:6.14-2) over (1:6.11-1) ... 1504s Preparing to unpack .../10-libevdev2_1.13.4+dfsg-1_ppc64el.deb ... 1504s Unpacking libevdev2:ppc64el (1.13.4+dfsg-1) over (1.13.3+dfsg-1) ... 1504s Preparing to unpack .../11-libnghttp2-14_1.64.0-1.1_ppc64el.deb ... 1504s Unpacking libnghttp2-14:ppc64el (1.64.0-1.1) over (1.64.0-1ubuntu1) ... 1504s Preparing to unpack .../12-libusb-1.0-0_2%3a1.0.28-1_ppc64el.deb ... 1504s Unpacking libusb-1.0-0:ppc64el (2:1.0.28-1) over (2:1.0.27-2) ... 1504s Preparing to unpack .../13-man-db_2.13.1-1_ppc64el.deb ... 1504s Unpacking man-db (2.13.1-1) over (2.13.0-1) ... 1504s Preparing to unpack .../14-publicsuffix_20250328.1952-0.1_all.deb ... 1504s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 1504s Preparing to unpack .../15-usbutils_1%3a018-2_ppc64el.deb ... 1504s Unpacking usbutils (1:018-2) over (1:018-1) ... 1504s Preparing to unpack .../16-btrfs-progs_6.14-1_ppc64el.deb ... 1504s Unpacking btrfs-progs (6.14-1) over (6.12-1build1) ... 1504s Preparing to unpack .../17-hwdata_0.394-1_all.deb ... 1504s Unpacking hwdata (0.394-1) over (0.393-3) ... 1504s Preparing to unpack .../18-pnp.ids_0.394-1_all.deb ... 1504s Unpacking pnp.ids (0.394-1) over (0.393-3) ... 1504s Preparing to unpack .../19-libmm-glib0_1.24.0-1_ppc64el.deb ... 1504s Unpacking libmm-glib0:ppc64el (1.24.0-1) over (1.23.4-0ubuntu3) ... 1504s Preparing to unpack .../20-libpython3.12t64_3.12.10-1_ppc64el.deb ... 1504s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 1504s Preparing to unpack .../21-libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 1504s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 1504s Preparing to unpack .../22-libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 1505s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 1505s Preparing to unpack .../23-patch_2.8-1_ppc64el.deb ... 1505s Unpacking patch (2.8-1) over (2.7.6-7build3) ... 1505s Setting up libdebuginfod-common (0.193-1) ... 1505s Setting up btrfs-progs (6.14-1) ... 1505s Setting up netcat-openbsd (1.229-1) ... 1505s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 1505s Setting up libnghttp2-14:ppc64el (1.64.0-1.1) ... 1505s Setting up less (668-1) ... 1505s Setting up man-db (2.13.1-1) ... 1505s Updating database of manual pages ... 1507s man-db.service is a disabled or a static unit not running, not starting it. 1508s Setting up libelf1t64:ppc64el (0.193-1) ... 1508s Setting up libdw1t64:ppc64el (0.193-1) ... 1508s Setting up tzdata (2025b-3ubuntu1) ... 1508s 1508s Current default time zone: 'Etc/UTC' 1508s Local time is now: Mon May 5 01:13:17 UTC 2025. 1508s Universal Time is now: Mon May 5 01:13:17 UTC 2025. 1508s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1508s 1508s Setting up libunistring5:ppc64el (1.3-2) ... 1508s Setting up patch (2.8-1) ... 1508s Setting up libmm-glib0:ppc64el (1.24.0-1) ... 1508s Setting up pnp.ids (0.394-1) ... 1508s Setting up libusb-1.0-0:ppc64el (2:1.0.28-1) ... 1508s Setting up libevdev2:ppc64el (1.13.4+dfsg-1) ... 1508s Setting up publicsuffix (20250328.1952-0.1) ... 1508s Setting up libbpf1:ppc64el (1:1.5.0-3) ... 1508s Setting up ethtool (1:6.14-2) ... 1508s Setting up libdebuginfod1t64:ppc64el (0.193-1) ... 1508s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 1508s Setting up usbutils (1:018-2) ... 1508s Setting up hwdata (0.394-1) ... 1508s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 1508s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1508s Processing triggers for initramfs-tools (0.147ubuntu1) ... 1508s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 1508s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1517s Reading package lists... 1517s Building dependency tree... 1517s Reading state information... 1517s Starting pkgProblemResolver with broken count: 0 1517s Starting 2 pkgProblemResolver with broken count: 0 1517s Done 1517s Solving dependencies... 1517s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1518s autopkgtest [01:13:27]: rebooting testbed after setup commands that affected boot 1552s Reading package lists... 1553s Building dependency tree... 1553s Reading state information... 1553s Starting pkgProblemResolver with broken count: 0 1553s Starting 2 pkgProblemResolver with broken count: 0 1553s Done 1553s The following NEW packages will be installed: 1553s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1553s libdconf1 1553s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1553s Need to get 149 kB of archives. 1553s After this operation, 830 kB of additional disk space will be used. 1553s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el libdconf1 ppc64el 0.40.0-5 [43.7 kB] 1554s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el dconf-service ppc64el 0.40.0-5 [30.8 kB] 1554s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-5 [26.0 kB] 1554s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1554s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB] 1554s Fetched 149 kB in 0s (356 kB/s) 1554s Selecting previously unselected package libdconf1:ppc64el. 1554s (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 ... 107214 files and directories currently installed.) 1554s Preparing to unpack .../libdconf1_0.40.0-5_ppc64el.deb ... 1554s Unpacking libdconf1:ppc64el (0.40.0-5) ... 1554s Selecting previously unselected package dconf-service. 1554s Preparing to unpack .../dconf-service_0.40.0-5_ppc64el.deb ... 1554s Unpacking dconf-service (0.40.0-5) ... 1554s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1554s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_ppc64el.deb ... 1554s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-5) ... 1554s Selecting previously unselected package dpkg-repack. 1554s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1554s Unpacking dpkg-repack (1.54) ... 1554s Selecting previously unselected package gsettings-desktop-schemas. 1554s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ... 1554s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ... 1554s Setting up dpkg-repack (1.54) ... 1554s Setting up libdconf1:ppc64el (0.40.0-5) ... 1554s Setting up dconf-service (0.40.0-5) ... 1554s Setting up dconf-gsettings-backend:ppc64el (0.40.0-5) ... 1554s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ... 1554s Processing triggers for man-db (2.13.1-1) ... 1555s Processing triggers for libglib2.0-0t64:ppc64el (2.84.1-1) ... 1555s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1560s autopkgtest [01:14:09]: test 1065022-futureproofing: [----------------------- 1561s + export DEBIAN_FRONTEND=noninteractive 1561s + n=0 1561s + failed=0 1561s + binary_package=libglib2.0-0t64 1561s + future_binary_package=libglib2.0-0xyz 1561s + pwd 1561s + srcdir=/tmp/autopkgtest.ocWzCN/build.xwz/src 1561s + mktemp -d 1561s + tmpdir=/tmp/tmp.fz19LjWgRg 1561s + cd /tmp/tmp.fz19LjWgRg 1561s + [ -e /tmp/autopkgtest.ocWzCN/build.xwz/src/debian/tests/manual/local-1065022.sources ] 1561s + dpkg-query -W dpkg-repack 1561s dpkg-repack 1.54 1561s + dpkg-repack --generate libglib2.0-0t64 1561s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1561s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.keDB9a for libglib2.0-0t64 1561s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.keDB9a ." 1561s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.keDB9a/DEBIAN/control 1561s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.keDB9a/DEBIAN/control 1561s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.keDB9a/DEBIAN/control 1561s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.keDB9a/DEBIAN/control 1561s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.keDB9a libglib2.0-0xyz.deb 1561s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1562s + apt-get -y install ./libglib2.0-0xyz.deb 1563s Reading package lists... 1563s Building dependency tree... 1563s Reading state information... 1563s Solving dependencies... 1563s The following packages were automatically installed and are no longer required: 1563s apport-symptoms exfatprogs jq libatasmart4 libbytesize-common libbytesize1 1563s libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 libinih1 1563s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1563s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1563s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1563s python3-openssl python3-passlib python3-problem-report python3-pygments 1563s python3-requests python3-rich python3-systemd python3-urllib3 1563s Use 'sudo apt autoremove' to remove them. 1563s The following additional packages will be installed: 1563s xdg-user-dirs 1563s Suggested packages: 1563s low-memory-monitor 1563s Recommended packages: 1563s shared-mime-info 1563s The following packages will be REMOVED: 1563s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1563s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1563s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1563s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1563s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1563s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1563s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1563s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1563s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1563s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1563s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs 1563s The following NEW packages will be installed: 1563s libglib2.0-0xyz xdg-user-dirs 1563s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded. 1563s Need to get 20.1 kB/1823 kB of archives. 1563s After this operation, 40.1 MB disk space will be freed. 1563s Get:1 /tmp/tmp.fz19LjWgRg/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.84.1-1 [1803 kB] 1563s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el xdg-user-dirs ppc64el 0.18-2 [20.1 kB] 1563s Fetched 20.1 kB in 0s (91.7 kB/s) 1564s (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 ... 107283 files and directories currently installed.) 1564s Removing bolt (0.9.8-1) ... 1564s Removing cloud-init (25.2~1g7a0265d3-0ubuntu1) ... 1564s Removing cloud-init-base (25.2~1g7a0265d3-0ubuntu1) ... 1564s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ... 1564s Removing dconf-gsettings-backend:ppc64el (0.40.0-5) ... 1564s Removing dconf-service (0.40.0-5) ... 1565s Removing fwupd (2.0.8-3) ... 1565s Removing networkd-dispatcher (2.2.4-1.1) ... 1565s Removing udisks2 (2.10.1-11ubuntu2) ... 1566s Removing libblockdev-crypto3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-fs3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-loop3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-mdraid3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-nvme3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-part3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-swap3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev3:ppc64el (3.3.0-2) ... 1566s Removing libblockdev-utils3:ppc64el (3.3.0-2) ... 1566s Removing libdconf1:ppc64el (0.40.0-5) ... 1566s Removing libfwupd3:ppc64el (2.0.8-3) ... 1566s Removing shared-mime-info (2.4-5build1) ... 1566s Removing xfsprogs (6.13.0-2ubuntu1) ... 1566s Removing python3-dbus (1.3.2-5build5) ... 1566s Removing libgudev-1.0-0:ppc64el (1:238-6) ... 1566s Removing libjcat1:ppc64el (0.2.3-1) ... 1567s Removing libjson-glib-1.0-0:ppc64el (1.10.6+ds-2) ... 1567s Removing libqmi-proxy (1.36.0-1) ... 1567s Removing libqmi-glib5:ppc64el (1.36.0-1) ... 1567s Removing libmbim-proxy (1.32.0-1) ... 1567s Removing libmbim-glib4:ppc64el (1.32.0-1) ... 1567s Removing libmm-glib0:ppc64el (1.24.0-1) ... 1567s Removing ubuntu-minimal (1.549) ... 1567s Removing netplan.io (1.1.2-2ubuntu1) ... 1567s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1567s Removing python3-netplan (1.1.2-2ubuntu1) ... 1567s Removing netplan-generator (1.1.2-2ubuntu1) ... 1567s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1567s Removing libnetplan1:ppc64el (1.1.2-2ubuntu1) ... 1567s Removing libpolkit-agent-1-0:ppc64el (126-2) ... 1567s Removing libpolkit-gobject-1-0:ppc64el (126-2) ... 1567s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ... 1567s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu2) ... 1567s Removing libvolume-key1:ppc64el (0.3.12-9) ... 1567s Removing libxmlb2:ppc64el (0.3.22-1) ... 1567s Removing apport (2.32.0-0ubuntu5) ... 1568s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ... 1568s Removing python3-gi (3.50.0-4build1) ... 1568s Removing gir1.2-girepository-2.0:ppc64el (1.84.0-1) ... 1568s Removing gir1.2-glib-2.0:ppc64el (2.84.1-1) ... 1568s Removing libgirepository-1.0-1:ppc64el (1.84.0-1) ... 1568s Removing libglib2.0-0t64:ppc64el (2.84.1-1) ... 1569s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1569s (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 ... 106141 files and directories currently installed.) 1569s Preparing to unpack .../libglib2.0-0xyz.deb ... 1569s Unpacking libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1569s Selecting previously unselected package xdg-user-dirs. 1569s Preparing to unpack .../xdg-user-dirs_0.18-2_ppc64el.deb ... 1569s Unpacking xdg-user-dirs (0.18-2) ... 1569s Setting up xdg-user-dirs (0.18-2) ... 1569s Setting up libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1569s No schema files found: removed existing output file. 1569s Processing triggers for dbus (1.16.2-2ubuntu1) ... 1569s Processing triggers for initramfs-tools (0.147ubuntu1) ... 1569s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 1569s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1577s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1577s Processing triggers for man-db (2.13.1-1) ... 1579s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1579s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1579s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1579s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1579s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1579s + n=1 1579s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1579s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1579s + failed=1 1579s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1579s + n=2 1579s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1579s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1579s + failed=1 1579s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1579s + n=3 1579s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1579s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1579s + failed=1 1579s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1579s + n=4 1579s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1579s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1579s + failed=1 1579s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1579s + n=5 1579s + test -e /usr/lib/*/gio/modules/giomodule.cache 1579s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1579s + failed=1 1579s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1579s + n=6 1579s + test -s /usr/lib/*/gio/modules/giomodule.cache 1579s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1579s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1579s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1579s + failed=1 1579s + apt-get -y purge libglib2.0-0t64 1579s Reading package lists... 1579s Building dependency tree... 1579s Reading state information... 1579s The following packages were automatically installed and are no longer required: 1579s apport-symptoms exfatprogs jq libatasmart4 libbytesize-common libbytesize1 1579s libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 libinih1 1579s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1579s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1579s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1579s python3-openssl python3-passlib python3-problem-report python3-pygments 1579s python3-requests python3-rich python3-systemd python3-urllib3 1579s Use 'sudo apt autoremove' to remove them. 1579s The following packages will be REMOVED: 1579s libglib2.0-0t64* 1579s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1579s After this operation, 0 B of additional disk space will be used. 1579s (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 ... 106176 files and directories currently installed.) 1579s Purging configuration files for libglib2.0-0t64:ppc64el (2.84.1-1) ... 1580s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1580s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1580s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + n=7 1580s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1580s + failed=1 1580s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + n=8 1580s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1580s + failed=1 1580s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1580s + n=9 1580s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1580s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s + failed=1 1580s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1580s + n=10 1580s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1580s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s + failed=1 1580s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1580s + n=11 1580s + test -e /usr/lib/*/gio/modules/giomodule.cache 1580s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s + failed=1 1580s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1580s + n=12 1580s + test -s /usr/lib/*/gio/modules/giomodule.cache 1580s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s + failed=1 1580s + apt-get -y purge libglib2.0-0xyz 1580s Reading package lists... 1580s Building dependency tree... 1580s Reading state information... 1580s The following packages were automatically installed and are no longer required: 1580s apport-symptoms exfatprogs jq libatasmart4 libatomic1 libbytesize-common 1580s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libglib2.0-data 1580s libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 1580s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1580s python3-chardet python3-configobj python3-debconf python3-markdown-it 1580s python3-mdurl python3-openssl python3-passlib python3-problem-report 1580s python3-pygments python3-requests python3-rich python3-systemd 1580s python3-urllib3 xdg-user-dirs 1580s Use 'sudo apt autoremove' to remove them. 1580s The following packages will be REMOVED: 1580s libglib2.0-0xyz* 1580s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1580s After this operation, 6086 kB disk space will be freed. 1580s (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 ... 106176 files and directories currently installed.) 1580s Removing libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1580s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1580s (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 ... 106151 files and directories currently installed.) 1580s Purging configuration files for libglib2.0-0xyz:ppc64el (2.84.1-1) ... 1581s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1581s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1581s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1581s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1581s 1..16 1581s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1581s + n=13 1581s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1581s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1581s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1581s + n=14 1581s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1581s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1581s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1581s + n=15 1581s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1581s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1581s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1581s + n=16 1581s + test -e /usr/lib/*/gio/modules/giomodule.cache 1581s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1581s + echo 1..16 1581s + exit 1 1581s autopkgtest [01:14:30]: test 1065022-futureproofing: -----------------------] 1581s autopkgtest [01:14:30]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1581s 1065022-futureproofing FLAKY non-zero exit status 1 1582s autopkgtest [01:14:31]: @@@@@@@@@@@@@@@@@@@@ summary 1582s build PASS (superficial) 1582s build-static PASS (superficial) 1582s girepository-tools PASS (superficial) 1582s libgio-2.0-dev-bin PASS (superficial) 1582s libglib2.0-dev PASS (superficial) 1582s installed-tests PASS 1582s closure-refcount PASS 1582s debugcontroller PASS 1582s gdbus-server-auth PASS 1582s gdbus-threading PASS 1582s gmenumodel PASS 1582s mainloop PASS 1582s memory-monitor-dbus PASS 1582s socket PASS 1582s testfilemonitor PASS 1582s thread-pool-slow PASS 1582s threadtests PASS 1582s timeout PASS 1582s timer PASS 1582s 1065022-futureproofing FLAKY non-zero exit status 1 1587s nova [W] Using flock in prodstack6-ppc64el 1587s Creating nova instance adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 from image adt/ubuntu-questing-ppc64el-server-20250504.img (UUID 65e029e2-4bd9-4b30-b646-f26a73cdeb97)... 1587s nova [W] Timed out waiting for 253c1f96-0ad3-465e-a559-e6f26e05afbb to get deleted. 1587s nova [W] Using flock in prodstack6-ppc64el 1587s Creating nova instance adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 from image adt/ubuntu-questing-ppc64el-server-20250504.img (UUID 65e029e2-4bd9-4b30-b646-f26a73cdeb97)... 1587s nova [W] Timed out waiting for 5b7c63e2-3576-4416-aad3-4487ae495bf2 to get deleted. 1587s nova [W] Using flock in prodstack6-ppc64el 1587s Creating nova instance adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 from image adt/ubuntu-questing-ppc64el-server-20250504.img (UUID 65e029e2-4bd9-4b30-b646-f26a73cdeb97)... 1587s nova [W] Timed out waiting for f6fbe10d-7706-4158-959c-6ef0f8821398 to get deleted. 1587s nova [W] Using flock in prodstack6-ppc64el 1587s Creating nova instance adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 from image adt/ubuntu-questing-ppc64el-server-20250504.img (UUID 65e029e2-4bd9-4b30-b646-f26a73cdeb97)... 1587s nova [W] Timed out waiting for c3f457cf-2bfd-4c99-86b9-92f8e7dcf659 to get deleted. 1587s nova [W] Using flock in prodstack6-ppc64el 1587s Creating nova instance adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 from image adt/ubuntu-questing-ppc64el-server-20250504.img (UUID 65e029e2-4bd9-4b30-b646-f26a73cdeb97)... 1587s nova [W] Timed out waiting for 9c6cc6f2-9904-4703-bb09-60dcbbf8edfb to get deleted. 1587s nova [W] Using flock in prodstack6-ppc64el 1587s Creating nova instance adt-questing-ppc64el-glib2.0-20250505-000624-juju-7f2275-prod-proposed-migration-environment-23-473b08c4-31a6-48bf-bf36-03dd1d2512f9 from image adt/ubuntu-questing-ppc64el-server-20250504.img (UUID 65e029e2-4bd9-4b30-b646-f26a73cdeb97)... 1587s nova [W] Timed out waiting for 4c2194f1-b505-4700-9d54-7175d8098568 to get deleted.